diff options
author | meepingsnesroms | 2017-02-12 16:02:24 -0800 |
---|---|---|
committer | GitHub | 2017-02-12 16:02:24 -0800 |
commit | d9b7722019987cb3331ab3ec3fcf364c82145177 (patch) | |
tree | 34346e131ec88be8715ceb44b1c984de44d6f8e9 /source/ppu.c | |
parent | 474a67ccdccb89d369c706347085ca4619f0cbef (diff) | |
parent | c3fadd966ae2a65a683d6cc0b07a26c2980f6bbd (diff) | |
download | snesemu-d9b7722019987cb3331ab3ec3fcf364c82145177.tar.gz snesemu-d9b7722019987cb3331ab3ec3fcf364c82145177.tar.bz2 snesemu-d9b7722019987cb3331ab3ec3fcf364c82145177.zip |
Merge pull request #32 from jamsilva/master
Fixed stupid mistake that broke some games. Other minor changes.
Diffstat (limited to 'source/ppu.c')
-rw-r--r-- | source/ppu.c | 5 |
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); |