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;
|
||||
Registers.PCw++;
|
||||
CPU.Cycles += ONE_CYCLE;
|
||||
S9xDoHEventProcessing();
|
||||
while (CPU.Cycles >= CPU.NextEvent)
|
||||
S9xDoHEventProcessing();
|
||||
}
|
||||
|
||||
S9xOpcode_NMI();
|
||||
|
|
Loading…
Reference in New Issue