From 6ba2bfc180e0a1d743b3717c1a4b742479856edb Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Fri, 2 Aug 2019 18:51:13 -0700 Subject: Fix regression in sprite rendering in H32 mode --- vdp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/vdp.c b/vdp.c index 6739c54..ec5735b 100644 --- a/vdp.c +++ b/vdp.c @@ -2803,6 +2803,7 @@ static void vdp_h32(vdp_context * context, uint32_t target_cycles) //filled rather than the number of available slots //context->slot_counter = MAX_SPRITES_LINE - context->slot_counter; context->cur_slot = context->slot_counter; + context->sprite_x_offset = 0; context->sprite_draws = MAX_SPRITES_LINE_H32; CHECK_LIMIT COLUMN_RENDER_BLOCK(2, 1) -- cgit v1.2.3