diff debug.c @ 1629:079e5b9d59ce

Forcefully update the display when entering the 68K debugger so you can see it update in realtime as you step through the code
author Michael Pavone <pavone@retrodev.com>
date Thu, 01 Nov 2018 20:14:56 -0700
parents 4f96103b4b47
children 5aa0c3c43b97
line wrap: on
line diff
--- a/debug.c	Wed Oct 31 21:58:59 2018 -0700
+++ b/debug.c	Thu Nov 01 20:14:56 2018 -0700
@@ -900,6 +900,8 @@
 	init_terminal();
 
 	sync_components(context, 0);
+	genesis_context *gen = context->system;
+	vdp_force_update_framebuffer(gen->vdp);
 	//probably not necessary, but let's play it safe
 	address &= 0xFFFFFF;
 	if (address == branch_t) {