summaryrefslogtreecommitdiff
path: root/vdp.c
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2017-01-16 22:30:21 -0800
committerMichael Pavone <pavone@retrodev.com>2017-01-16 22:30:21 -0800
commitd12fb35ddc70bc5fd66550ab7f423ee532309ddf (patch)
treea610752354d22220fc4cbb545c6f2698ca09bed7 /vdp.c
parent440fa629748eafc00758e3fe94e196878bd8a302 (diff)
Fix H32 inconsistency
Diffstat (limited to 'vdp.c')
-rw-r--r--vdp.c9
1 files changed, 6 insertions, 3 deletions
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++;