mirror of https://github.com/snes9xgit/snes9x.git
Fix Mortal Kombat II.
This commit is contained in:
parent
37954fe510
commit
937eeab133
|
@ -239,6 +239,8 @@ void S9xMainLoop (void)
|
|||
{
|
||||
CPU.WaitingForInterrupt = FALSE;
|
||||
Registers.PCw++;
|
||||
CPU.Cycles += ONE_CYCLE * 2;
|
||||
S9xDoHEventProcessing();
|
||||
}
|
||||
|
||||
S9xUpdateIRQPositions();
|
||||
|
|
2
ppu.cpp
2
ppu.cpp
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue