diff --git a/src/rk65c02.c b/src/rk65c02.c index 965011d..2529c78 100644 --- a/src/rk65c02.c +++ b/src/rk65c02.c @@ -96,6 +96,7 @@ rk65c02_exec(rk65c02emu_t *e) if (debug_PC_is_breakpoint(e)) { e->state = STOPPED; e->stopreason = BREAKPOINT; + return; } /* if disassembly-when-running enabled */