diff --git a/core/m68k/m68kops.h b/core/m68k/m68kops.h index 4cd08f7..564a57e 100644 --- a/core/m68k/m68kops.h +++ b/core/m68k/m68kops.h @@ -20967,7 +20967,10 @@ static void m68k_op_stop(void) uint new_sr = OPER_I_16(); CPU_STOPPED |= STOP_LEVEL_STOP; m68ki_set_sr(new_sr); - SET_CYCLES(m68ki_cpu.cycle_end - 4*MUL); + if (CPU_STOPPED) + { + SET_CYCLES(m68ki_cpu.cycle_end - 4*MUL); + } return; } m68ki_exception_privilege_violation();