diff options
author | Michael Pavone <pavone@retrodev.com> | 2017-01-01 23:00:28 -0800 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2017-01-01 23:00:28 -0800 |
commit | e87e2d186f3a5663cf91eb93dd1950299bb17020 (patch) | |
tree | 505bc114a3c7dde03f0fbd7bbddc50c8fbc32511 | |
parent | 36a169a1c807db81bdf38243c14e74e00f2e54be (diff) |
Fix slot tracking screwup
-rw-r--r-- | vdp.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -1824,7 +1824,12 @@ static void vdp_h32_mode4(vdp_context * context, uint32_t target_cycles) CHECK_LIMIT case 147: external_slot(context); - CHECK_LIMIT + if (context->flags & FLAG_DMA_RUN) { + run_dma_src(context, -1); + } + context->hslot = 233; + context->cycles += slot_cycles; + CHECK_ONLY //!HSYNC low case 233: external_slot(context); |