aboutsummaryrefslogtreecommitdiff
path: root/source/ppu.c
diff options
context:
space:
mode:
authorJoão Silva2017-02-12 22:16:10 +0000
committerJoão Silva2017-02-12 22:16:10 +0000
commitc3fadd966ae2a65a683d6cc0b07a26c2980f6bbd (patch)
tree34346e131ec88be8715ceb44b1c984de44d6f8e9 /source/ppu.c
parentfb2517282da2fdfc26e58207bbb8e0a8bca35be2 (diff)
downloadsnes9x2005-c3fadd966ae2a65a683d6cc0b07a26c2980f6bbd.tar.gz
snes9x2005-c3fadd966ae2a65a683d6cc0b07a26c2980f6bbd.tar.bz2
snes9x2005-c3fadd966ae2a65a683d6cc0b07a26c2980f6bbd.zip
Fixed stupid mistake that broke some games. Other minor changes.
Diffstat (limited to 'source/ppu.c')
-rw-r--r--source/ppu.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/source/ppu.c b/source/ppu.c
index 80920b1..f48800d 100644
--- a/source/ppu.c
+++ b/source/ppu.c
@@ -131,6 +131,7 @@ static void S9xSetSuperFX(uint8_t Byte, uint16_t Address)
case 0x3037:
case 0x3039:
case 0x303a:
+ case 0x303b:
case 0x303f:
break;
case 0x3034:
@@ -140,8 +141,6 @@ static void S9xSetSuperFX(uint8_t Byte, uint16_t Address)
case 0x3038:
fx_dirtySCBR();
break;
- case 0x303b:
- break;
case 0x303c:
fx_updateRamBank(Byte);
break;
@@ -1165,8 +1164,8 @@ void S9xSetCPU(uint8_t byte, uint16_t Address)
CPU.Flags |= NMI_FLAG;
CPU.NMIActive = true;
CPU.NMICycleCount = CPU.Cycles + TWO_CYCLES;
- break;
}
+ break;
case 0x4201:
if ((byte & 0x80) == 0 && (Memory.FillRAM[0x4213] & 0x80) == 0x80)
S9xLatchCounters(1);