Move AddCycles to be consistent with other OPs.
This commit is contained in:
parent
a33f0f3540
commit
ae12429a0d
@ -2849,31 +2849,31 @@ static void Op22E1 (void)
|
||||
// Note: JSL is a new instruction,
|
||||
// and so doesn't respect the emu-mode stack bounds.
|
||||
uint32 addr = AbsoluteLong(JSR);
|
||||
AddCycles(ONE_CYCLE);
|
||||
PushB(Registers.PB);
|
||||
PushW(Registers.PCw - 1);
|
||||
Registers.SH = 1;
|
||||
S9xSetPCBase(addr);
|
||||
AddCycles(ONE_CYCLE);
|
||||
}
|
||||
|
||||
static void Op22E0 (void)
|
||||
{
|
||||
uint32 addr = AbsoluteLong(JSR);
|
||||
AddCycles(ONE_CYCLE);
|
||||
PushB(Registers.PB);
|
||||
PushW(Registers.PCw - 1);
|
||||
S9xSetPCBase(addr);
|
||||
AddCycles(ONE_CYCLE);
|
||||
}
|
||||
|
||||
static void Op22Slow (void)
|
||||
{
|
||||
uint32 addr = AbsoluteLongSlow(JSR);
|
||||
AddCycles(ONE_CYCLE);
|
||||
PushB(Registers.PB);
|
||||
PushW(Registers.PCw - 1);
|
||||
if (CheckEmulation())
|
||||
Registers.SH = 1;
|
||||
S9xSetPCBase(addr);
|
||||
AddCycles(ONE_CYCLE);
|
||||
}
|
||||
|
||||
static void Op6BE1 (void)
|
||||
|
Loading…
Reference in New Issue
Block a user