mirror of https://github.com/snes9xgit/snes9x.git
more fix for SA-1 NMI
This commit is contained in:
parent
73e1f68c22
commit
b402733eb2
|
@ -2985,7 +2985,7 @@ void S9xOpcode_NMI (void)
|
||||||
AddCycles(2 * SLOW_ONE_CYCLE);
|
AddCycles(2 * SLOW_ONE_CYCLE);
|
||||||
S9xSA1SetPCBase(Memory.FillRAM[0x2205] | (Memory.FillRAM[0x2206] << 8));
|
S9xSA1SetPCBase(Memory.FillRAM[0x2205] | (Memory.FillRAM[0x2206] << 8));
|
||||||
#else
|
#else
|
||||||
if (Settings.SA1 && (Memory.FillRAM[0x2209] & 0x20))
|
if (Settings.SA1 && (Memory.FillRAM[0x2209] & 0x10))
|
||||||
{
|
{
|
||||||
OpenBus = Memory.FillRAM[0x220d];
|
OpenBus = Memory.FillRAM[0x220d];
|
||||||
AddCycles(2 * SLOW_ONE_CYCLE);
|
AddCycles(2 * SLOW_ONE_CYCLE);
|
||||||
|
|
Loading…
Reference in New Issue