diff debug.c @ 2252:6a07b13894f7

Fix input processing while waiting for console input in debugger
author Michael Pavone <pavone@retrodev.com>
date Tue, 29 Nov 2022 21:04:57 -0800
parents 4e27c36f947c
children 0343f0d5add0
line wrap: on
line diff
--- a/debug.c	Sun Nov 27 23:39:14 2022 -0800
+++ b/debug.c	Tue Nov 29 21:04:57 2022 -0800
@@ -1055,6 +1055,7 @@
 #endif
 	do {
 		process_events();
+		render_update_display();
 #ifndef _WIN32
 		timeout.tv_sec = 0;
 		timeout.tv_usec = 16667;
@@ -1901,7 +1902,7 @@
 				printf("%s:\n", def->labels[i]);
 			}
 		}
-		
+
 		address = m68k_decode(m68k_instruction_fetch, context, &inst, address);
 		m68k_disasm_labels(&inst, disasm_buf, root->disasm);
 		printf("\t%s\n", disasm_buf);