mirror of https://github.com/snes9xgit/snes9x.git
Allow instant IRQ trigger from 4200 writes again.
This commit is contained in:
parent
6cf60bc8ec
commit
e543702e24
2
ppu.cpp
2
ppu.cpp
|
@ -1567,7 +1567,7 @@ void S9xSetCPU (uint8 Byte, uint16 Address)
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((Byte & 0x30) != (Memory.FillRAM[0x4200] & 0x30))
|
if ((Byte & 0x30) != (Memory.FillRAM[0x4200] & 0x30))
|
||||||
S9xUpdateIRQPositions(false);
|
S9xUpdateIRQPositions(true);
|
||||||
|
|
||||||
// NMI can trigger immediately during VBlank as long as NMI_read ($4210) wasn't cleard.
|
// NMI can trigger immediately during VBlank as long as NMI_read ($4210) wasn't cleard.
|
||||||
if ((Byte & 0x80) && !(Memory.FillRAM[0x4200] & 0x80) &&
|
if ((Byte & 0x80) && !(Memory.FillRAM[0x4200] & 0x80) &&
|
||||||
|
|
Loading…
Reference in New Issue