mirror of https://github.com/snes9xgit/snes9x.git
Fix extra 4 cycles I left inaccidentally.
This commit is contained in:
parent
c61d81269a
commit
42d7b19361
2
ppu.cpp
2
ppu.cpp
|
@ -306,7 +306,7 @@ static int CyclesUntilNext (int hc, int vc)
|
|||
|
||||
void S9xUpdateIRQPositions (bool initial)
|
||||
{
|
||||
PPU.HTimerPosition = (PPU.IRQHBeamPos + 1) * ONE_DOT_CYCLE + Timings.IRQTriggerCycles;
|
||||
PPU.HTimerPosition = PPU.IRQHBeamPos * ONE_DOT_CYCLE + Timings.IRQTriggerCycles;
|
||||
PPU.HTimerPosition -= PPU.IRQHBeamPos ? 0 : ONE_DOT_CYCLE;
|
||||
PPU.HTimerPosition += PPU.IRQHBeamPos > 322 ? (ONE_DOT_CYCLE / 2) : 0;
|
||||
PPU.HTimerPosition += PPU.IRQHBeamPos > 326 ? (ONE_DOT_CYCLE / 2) : 0;
|
||||
|
|
Loading…
Reference in New Issue