summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2019-08-02 18:51:13 -0700
committerMichael Pavone <pavone@retrodev.com>2019-08-02 18:51:13 -0700
commit6ba2bfc180e0a1d743b3717c1a4b742479856edb (patch)
tree417538b08d61fbdc764dd682dab7f74ee73e4553
parent034b8b4908dc581c73bc1e0702b77a30bcf8b501 (diff)
Fix regression in sprite rendering in H32 mode
-rw-r--r--vdp.c1
1 files changed, 1 insertions, 0 deletions
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)