diff options
author | Mike Pavone <pavone@retrodev.com> | 2013-05-15 22:37:04 -0700 |
---|---|---|
committer | Mike Pavone <pavone@retrodev.com> | 2013-05-15 22:37:04 -0700 |
commit | 3e9473a73d17bb3b71551c8eb053e8288eceb713 (patch) | |
tree | 071ca17e69bc89f6b11d6ec5c8ceb08bef703142 /vdp.c | |
parent | 122237a264b8f0adf20bba43a6c5e43a060a3506 (diff) |
Fix background color regsiter number
Diffstat (limited to 'vdp.c')
-rw-r--r-- | vdp.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -316,6 +316,7 @@ void external_slot(vdp_context * context) break; case CRAM_WRITE: context->cram[(context->address/2) & (CRAM_SIZE-1)] = context->dma_val; + //printf("CRAM DMA Fill | %X set to %X at %d\n", (context->address/2) & (CRAM_SIZE-1), context->cram[(context->address/2) & (CRAM_SIZE-1)], context->cycles); break; case VSRAM_WRITE: if (((context->address/2) & 63) < VSRAM_SIZE) { @@ -334,6 +335,7 @@ void external_slot(vdp_context * context) break; case CRAM_WRITE: context->cram[(context->address/2) & (CRAM_SIZE-1)] = context->dma_val; + //printf("CRAM DMA Copy | %X set to %X from %X at %d\n", (context->address/2) & (CRAM_SIZE-1), context->cram[(context->address/2) & (CRAM_SIZE-1)], context->regs[REG_DMASRC_L] & (CRAM_SIZE-1), context->cycles); break; case VSRAM_WRITE: if (((context->address/2) & 63) < VSRAM_SIZE) { |