Mercurial > repos > blastem
changeset 1928:abc89555f2e0
Admit defeat on the "trying to write CRAM dots while output is null issue" for now and just add a null check
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Thu, 16 Apr 2020 22:37:43 -0700 |
parents | 9fd4bedc1a31 |
children | c7e3e3ebb64a |
files | vdp.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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 )) {