summaryrefslogtreecommitdiff
path: root/debug.c
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2018-11-01 20:14:56 -0700
committerMichael Pavone <pavone@retrodev.com>2018-11-01 20:14:56 -0700
commit16e0cd5352a9950fff2972f5c08636ff62987265 (patch)
tree82c459a8d86546831592a26eda3e05527e03d274 /debug.c
parentd8ecd824b2747daf719d58415d321cb5a1a478a9 (diff)
Forcefully update the display when entering the 68K debugger so you can see it update in realtime as you step through the code
Diffstat (limited to 'debug.c')
-rw-r--r--debug.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/debug.c b/debug.c
index ff4c8d5..1f09591 100644
--- a/debug.c
+++ b/debug.c
@@ -900,6 +900,8 @@ void debugger(m68k_context * context, uint32_t address)
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) {