summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debug.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/debug.c b/debug.c
index 3406fd6..52c044f 100644
--- a/debug.c
+++ b/debug.c
@@ -402,6 +402,7 @@ z80_context * zdebugger(z80_context * context, uint16_t address)
new_bp->next = zbreakpoints;
new_bp->address = value;
new_bp->index = zbp_index++;
+ new_bp->commands = NULL;
zbreakpoints = new_bp;
printf("Z80 Breakpoint %d set at %X\n", new_bp->index, value);
break;