mirror of https://github.com/snes9xgit/snes9x.git
Do HEventProcessing conditionally.
This commit is contained in:
parent
f57ba74547
commit
5595e3cb96
|
@ -224,7 +224,8 @@ void S9xMainLoop (void)
|
||||||
CPU.WaitingForInterrupt = FALSE;
|
CPU.WaitingForInterrupt = FALSE;
|
||||||
Registers.PCw++;
|
Registers.PCw++;
|
||||||
CPU.Cycles += ONE_CYCLE;
|
CPU.Cycles += ONE_CYCLE;
|
||||||
S9xDoHEventProcessing();
|
while (CPU.Cycles >= CPU.NextEvent)
|
||||||
|
S9xDoHEventProcessing();
|
||||||
}
|
}
|
||||||
|
|
||||||
S9xOpcode_NMI();
|
S9xOpcode_NMI();
|
||||||
|
|
Loading…
Reference in New Issue