# HG changeset patch # User Michael Pavone # Date 1578637640 28800 # Node ID 59a83c21d9d2b005e704334273cbdf69272ce3aa # Parent c157a535ceebfe5d1061bd40b35f1824af4bbd5e Fix crash in 68K debugger from forced VDP frame update when framebuffer is not acquired diff -r c157a535ceeb -r 59a83c21d9d2 vdp.c --- a/vdp.c Tue Jan 07 22:52:27 2020 -0800 +++ b/vdp.c Thu Jan 09 22:27:20 2020 -0800 @@ -2071,6 +2071,9 @@ void vdp_force_update_framebuffer(vdp_context *context) { + if (!context->fb) { + return; + } uint16_t lines_max = context->inactive_start + context->border_bot + context->border_top; uint16_t to_fill = lines_max - context->output_lines;