Use 0x0fffffff instead of 0xffffffff here.
This commit is contained in:
parent
d27d9b6dbd
commit
7dec8a1f9e
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user