From e543702e242d72ed0016e3edad68de0ea417914e Mon Sep 17 00:00:00 2001 From: Brandon Wright Date: Fri, 5 Oct 2018 18:17:19 -0500 Subject: [PATCH] Allow instant IRQ trigger from 4200 writes again. --- ppu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ppu.cpp b/ppu.cpp index 612f25c7..6b50a667 100644 --- a/ppu.cpp +++ b/ppu.cpp @@ -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) &&