notaz.gp2x.de
/
fceu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
release r2, update credits
[fceu.git]
/
fce.c
diff --git
a/fce.c
b/fce.c
index
f3d5abb
..
8483a7b
100644
(file)
--- a/
fce.c
+++ b/
fce.c
@@
-1377,10
+1377,10
@@
static void EmLoop(void)
{
if(ScreenON || SpriteON)
{
{
if(ScreenON || SpriteON)
{
- if(GameHBIRQHook)
+ if(GameHBIRQHook
&& (PPU[0]&0x38)!=0x18
)
GameHBIRQHook();
GameHBIRQHook();
-
if(PPU_hook)
-
for(x=0;x<42;x++) {PPU_hook(0x2000); PPU_hook(0);} // ugh
+ if(PPU_hook)
+ for(x=0;x<42;x++) {PPU_hook(0x2000); PPU_hook(0);} // ugh
if(GameHBIRQHook2)
GameHBIRQHook2();
}
if(GameHBIRQHook2)
GameHBIRQHook2();
}
@@
-1490,7
+1490,7
@@
void ResetNES081(void)
{
if(!GameLoaded) return;
GameInterface(GI_RESETM2, 0);
{
if(!GameLoaded) return;
GameInterface(GI_RESETM2, 0);
-
ResetSound
();
+
FCEUSND_Reset
();
ResetPPU();
X6502_Reset();
}
ResetPPU();
X6502_Reset();
}
@@
-1524,7
+1524,7
@@
void PowerNES(void)
memset(nes_internal_ram,0x00,0x800);
#endif
ResetMapping();
memset(nes_internal_ram,0x00,0x800);
#endif
ResetMapping();
-
PowerSound
();
+
FCEUSND_Power
();
PowerPPU();
if (use098code)
PowerPPU();
if (use098code)