mirror of https://github.com/snes9xgit/snes9x.git
More WAI fixing.
This commit is contained in:
parent
937eeab133
commit
f57ba74547
|
@ -223,6 +223,8 @@ void S9xMainLoop (void)
|
|||
{
|
||||
CPU.WaitingForInterrupt = FALSE;
|
||||
Registers.PCw++;
|
||||
CPU.Cycles += ONE_CYCLE;
|
||||
S9xDoHEventProcessing();
|
||||
}
|
||||
|
||||
S9xOpcode_NMI();
|
||||
|
@ -239,7 +241,7 @@ void S9xMainLoop (void)
|
|||
{
|
||||
CPU.WaitingForInterrupt = FALSE;
|
||||
Registers.PCw++;
|
||||
CPU.Cycles += ONE_CYCLE * 2;
|
||||
CPU.Cycles += ONE_CYCLE;
|
||||
S9xDoHEventProcessing();
|
||||
}
|
||||
|
||||
|
|
|
@ -3480,7 +3480,7 @@ static void OpCB (void)
|
|||
#else
|
||||
CPU.WaitingForInterrupt = TRUE;
|
||||
Registers.PCw--;
|
||||
AddCycles(TWO_CYCLES);
|
||||
AddCycles(ONE_CYCLE);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue