IRQExternal isn't susceptible to same delays.
This commit is contained in:
parent
eb82a9f706
commit
ca9ec5ff19
@ -249,7 +249,7 @@ void S9xMainLoop (void)
|
||||
CPU.IRQLine = TRUE;
|
||||
}
|
||||
|
||||
if ((CPU.Cycles >= Timings.NextIRQTimer || CPU.IRQExternal) && !CPU.IRQLine && !CPU.IRQTransition)
|
||||
if ((CPU.Cycles >= Timings.NextIRQTimer) && !CPU.IRQLine && !CPU.IRQTransition)
|
||||
{
|
||||
if (CPU.IRQPending)
|
||||
CPU.IRQPending--;
|
||||
@ -259,7 +259,7 @@ void S9xMainLoop (void)
|
||||
}
|
||||
}
|
||||
|
||||
if (CPU.IRQLine && !CheckFlag(IRQ))
|
||||
if ((CPU.IRQLine || CPU.IRQExternal) && !CheckFlag(IRQ))
|
||||
S9xOpcode_IRQ();
|
||||
|
||||
#ifdef DEBUGGER
|
||||
|
Loading…
Reference in New Issue
Block a user