Allow instant IRQ trigger from 4200 writes again.

This commit is contained in:
Brandon Wright 2018-10-05 18:17:19 -05:00
parent 6cf60bc8ec
commit e543702e24
1 changed files with 1 additions and 1 deletions

View File

@ -1567,7 +1567,7 @@ void S9xSetCPU (uint8 Byte, uint16 Address)
}
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.
if ((Byte & 0x80) && !(Memory.FillRAM[0x4200] & 0x80) &&