Fix Mortal Kombat II.

This commit is contained in:
Brandon Wright 2018-05-26 18:08:03 -05:00
parent 37954fe510
commit 937eeab133
2 changed files with 3 additions and 1 deletions

View File

@ -239,6 +239,8 @@ void S9xMainLoop (void)
{
CPU.WaitingForInterrupt = FALSE;
Registers.PCw++;
CPU.Cycles += ONE_CYCLE * 2;
S9xDoHEventProcessing();
}
S9xUpdateIRQPositions();

View File

@ -336,7 +336,7 @@ void S9xUpdateIRQPositions (void)
if (CPU.V_Counter == PPU.VTimerPosition)
Timings.NextIRQTimer = 0;
else
Timings.NextIRQTimer = CyclesUntilNext (ONE_DOT_CYCLE + Timings.IRQTriggerCycles, PPU.VTimerPosition);
Timings.NextIRQTimer = CyclesUntilNext (Timings.IRQTriggerCycles, PPU.VTimerPosition);
}
else
{