diff --git a/cpuops.cpp b/cpuops.cpp index a3e7fd10..8d7279b5 100644 --- a/cpuops.cpp +++ b/cpuops.cpp @@ -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)