changeset 368:c9d2a2371f5e

Make the n command in the Z80 debugger actually run the next instruction without needing a c command
author Mike Pavone <pavone@retrodev.com>
date Fri, 31 May 2013 20:47:34 -0700
parents f20562f2a570
children fc820ab1394b
files blastem.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/blastem.c	Fri May 31 20:46:56 2013 -0700
+++ b/blastem.c	Fri May 31 20:47:34 2013 -0700
@@ -1105,6 +1105,7 @@
 			case 'n':
 				//TODO: Handle branch instructions
 				zinsert_breakpoint(context, after, (uint8_t *)zdebugger);
+				debugging = 0;
 				break;
 			case 'p':
 				strcpy(format, "%s: %d\n");