next now skips over halt, closes #233
This commit is contained in:
parent
05403d3a56
commit
1a3572316f
@ -2059,7 +2059,7 @@ void GB_debugger_run(GB_gameboy_t *gb)
|
||||
if (gb->debug_disable) return;
|
||||
|
||||
char *input = NULL;
|
||||
if (gb->debug_next_command && gb->debug_call_depth <= 0) {
|
||||
if (gb->debug_next_command && gb->debug_call_depth <= 0 && !gb->halted) {
|
||||
gb->debug_stopped = true;
|
||||
}
|
||||
if (gb->debug_fin_command && gb->debug_call_depth == -1) {
|
||||
|
Loading…
Reference in New Issue
Block a user