From 7dec8a1f9e856921ea7055e7021c9b791d3df185 Mon Sep 17 00:00:00 2001 From: Brandon Wright Date: Sat, 19 May 2018 16:56:28 -0500 Subject: [PATCH] Use 0x0fffffff instead of 0xffffffff here. --- cpuexec.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpuexec.cpp b/cpuexec.cpp index 44f2d77b..973fe6a9 100644 --- a/cpuexec.cpp +++ b/cpuexec.cpp @@ -417,7 +417,7 @@ void S9xDoHEventProcessing (void) CPU.Cycles -= Timings.H_Max; if (Timings.NMITriggerPos != 0xffff) Timings.NMITriggerPos -= Timings.H_Max; - if (Timings.NextIRQTimer != 0xffffffff) + if (Timings.NextIRQTimer != 0x0fffffff) Timings.NextIRQTimer -= Timings.H_Max; S9xAPUSetReferenceTime(CPU.Cycles);