From e87e2d186f3a5663cf91eb93dd1950299bb17020 Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Sun, 1 Jan 2017 23:00:28 -0800 Subject: Fix slot tracking screwup --- vdp.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'vdp.c') diff --git a/vdp.c b/vdp.c index f6fc948..a6189b5 100644 --- a/vdp.c +++ b/vdp.c @@ -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); -- cgit v1.2.3