From d12fb35ddc70bc5fd66550ab7f423ee532309ddf Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Mon, 16 Jan 2017 22:30:21 -0800 Subject: Fix H32 inconsistency --- vdp.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'vdp.c') diff --git a/vdp.c b/vdp.c index 20a4f4d..cac040a 100644 --- a/vdp.c +++ b/vdp.c @@ -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++; -- cgit v1.2.3