# HG changeset patch # User Mike Pavone # Date 1587101863 25200 # Node ID abc89555f2e0b71554748d0ec6a277e8c1efa82b # Parent 9fd4bedc1a3171b09f503abb254e88aa98bc89da Admit defeat on the "trying to write CRAM dots while output is null issue" for now and just add a null check diff -r 9fd4bedc1a31 -r abc89555f2e0 vdp.c --- a/vdp.c Thu Apr 16 22:37:01 2020 -0700 +++ b/vdp.c Thu Apr 16 22:37:43 2020 -0700 @@ -814,7 +814,7 @@ } write_cram_internal(context, addr, value); - if (context->hslot >= BG_START_SLOT && ( + if (context->output && context->hslot >= BG_START_SLOT && ( context->vcounter < context->inactive_start + context->border_bot || context->vcounter > 0x200 - context->border_top )) {