diff options
author | Michael Pavone <pavone@retrodev.com> | 2017-01-16 22:30:21 -0800 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2017-01-16 22:30:21 -0800 |
commit | d12fb35ddc70bc5fd66550ab7f423ee532309ddf (patch) | |
tree | a610752354d22220fc4cbb545c6f2698ca09bed7 | |
parent | 440fa629748eafc00758e3fe94e196878bd8a302 (diff) |
Fix H32 inconsistency
-rw-r--r-- | vdp.c | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -1960,13 +1960,16 @@ static void vdp_h32(vdp_context * context, uint32_t target_cycles) CHECK_LIMIT case 132: render_sprite_cells(context); + if (context->flags & FLAG_DMA_RUN) { + run_dma_src(context, -1); + } + context->hslot++; + context->cycles += slot_cycles; vdp_advance_line(context); if (context->vcounter == context->inactive_start) { - context->hslot++; - context->cycles += slot_cycles; return; } - CHECK_LIMIT + CHECK_ONLY } default: context->hslot++; |