1
0
mirror of https://github.com/rkujawa/rk65c02.git synced 2024-12-13 01:29:57 +00:00

The rk65c02_exec should return immediately after hitting breakpoint.

This commit is contained in:
Radosław Kujawa 2017-02-15 19:56:22 +01:00
parent 3286891ea8
commit 6afb4531d5

View File

@ -96,6 +96,7 @@ rk65c02_exec(rk65c02emu_t *e)
if (debug_PC_is_breakpoint(e)) { if (debug_PC_is_breakpoint(e)) {
e->state = STOPPED; e->state = STOPPED;
e->stopreason = BREAKPOINT; e->stopreason = BREAKPOINT;
return;
} }
/* if disassembly-when-running enabled */ /* if disassembly-when-running enabled */