summaryrefslogtreecommitdiff
path: root/blastem.c
diff options
context:
space:
mode:
authorMike Pavone <pavone@retrodev.com>2013-05-31 20:47:34 -0700
committerMike Pavone <pavone@retrodev.com>2013-05-31 20:47:34 -0700
commit77c197499456a6acd78fd741b3cfa66eb6ad3a9f (patch)
treebc1191627b12865d37a6ea91e8d917eb31ee85fb /blastem.c
parent3e12841754549dccbeb1270b3cfc444bfe773c7b (diff)
Make the n command in the Z80 debugger actually run the next instruction without needing a c command
Diffstat (limited to 'blastem.c')
-rw-r--r--blastem.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/blastem.c b/blastem.c
index 78181d4..034adfe 100644
--- a/blastem.c
+++ b/blastem.c
@@ -1105,6 +1105,7 @@ z80_context * zdebugger(z80_context * context, uint16_t address)
case 'n':
//TODO: Handle branch instructions
zinsert_breakpoint(context, after, (uint8_t *)zdebugger);
+ debugging = 0;
break;
case 'p':
strcpy(format, "%s: %d\n");