diff options
author | Mike Pavone <pavone@retrodev.com> | 2020-04-16 22:37:43 -0700 |
---|---|---|
committer | Mike Pavone <pavone@retrodev.com> | 2020-04-16 22:37:43 -0700 |
commit | 16485197368e89bce59b908bec10fdb3fb1d0d0c (patch) | |
tree | ac5f206e88c865c0c01cad23c9615bbea4ed5c73 /vdp.c | |
parent | 4d6a594f8ad4a209a587278a245edb3db0566c39 (diff) |
Admit defeat on the "trying to write CRAM dots while output is null issue" for now and just add a null check
Diffstat (limited to 'vdp.c')
-rw-r--r-- | vdp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -814,7 +814,7 @@ static void write_cram(vdp_context * context, uint16_t address, uint16_t value) } 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 )) { |