From 6afb4531d5c017aebdc4828829db8061f7614b45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rados=C5=82aw=20Kujawa?= Date: Wed, 15 Feb 2017 19:56:22 +0100 Subject: [PATCH] The rk65c02_exec should return immediately after hitting breakpoint. --- src/rk65c02.c | 1 + 1 file changed, 1 insertion(+) 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 */