Use 0x0fffffff instead of 0xffffffff here.

This commit is contained in:
Brandon Wright 2018-05-19 16:56:28 -05:00
parent d27d9b6dbd
commit 7dec8a1f9e

View File

@ -417,7 +417,7 @@ void S9xDoHEventProcessing (void)
CPU.Cycles -= Timings.H_Max; CPU.Cycles -= Timings.H_Max;
if (Timings.NMITriggerPos != 0xffff) if (Timings.NMITriggerPos != 0xffff)
Timings.NMITriggerPos -= Timings.H_Max; Timings.NMITriggerPos -= Timings.H_Max;
if (Timings.NextIRQTimer != 0xffffffff) if (Timings.NextIRQTimer != 0x0fffffff)
Timings.NextIRQTimer -= Timings.H_Max; Timings.NextIRQTimer -= Timings.H_Max;
S9xAPUSetReferenceTime(CPU.Cycles); S9xAPUSetReferenceTime(CPU.Cycles);