mirror of https://github.com/snes9xgit/snes9x.git
But don't break SA1.
This commit is contained in:
parent
85b0cf0191
commit
e38d66ca25
|
@ -1635,11 +1635,12 @@ static void OpF8 (void)
|
||||||
// CLI
|
// CLI
|
||||||
static void Op58 (void)
|
static void Op58 (void)
|
||||||
{
|
{
|
||||||
// ClearIRQ();
|
|
||||||
AddCycles(ONE_CYCLE);
|
AddCycles(ONE_CYCLE);
|
||||||
|
|
||||||
#ifndef SA1_OPCODES
|
#ifndef SA1_OPCODES
|
||||||
Timings.IRQFlagChanging = IRQ_CLEAR_FLAG;
|
Timings.IRQFlagChanging = IRQ_CLEAR_FLAG;
|
||||||
|
#else
|
||||||
|
ClearIRQ();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1650,6 +1651,8 @@ static void Op78 (void)
|
||||||
|
|
||||||
#ifndef SA1_OPCODES
|
#ifndef SA1_OPCODES
|
||||||
Timings.IRQFlagChanging = IRQ_SET_FLAG;
|
Timings.IRQFlagChanging = IRQ_SET_FLAG;
|
||||||
|
#else
|
||||||
|
SetIRQ();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue