diff segacd.c @ 2106:d2989e32c026

Fix bug in Sub CPU debugger suport
author Michael Pavone <pavone@retrodev.com>
date Sat, 12 Feb 2022 14:50:59 -0800
parents ff32a90260c9
children 68d61ba1b762
line wrap: on
line diff
--- a/segacd.c	Sat Feb 12 14:50:40 2022 -0800
+++ b/segacd.c	Sat Feb 12 14:50:59 2022 -0800
@@ -879,6 +879,7 @@
 	scd_peripherals_run(cd, context->current_cycle);
 	if (address && cd->enter_debugger) {
 		genesis_context *gen = cd->genesis;
+		cd->enter_debugger = 0;
 		if (gen->header.debugger_type == DEBUGGER_NATIVE) {
 			debugger(context, address);
 		} else {