changeset 1873:041a381b9f0d

Fix regression in sprite rendering in H32 mode
author Michael Pavone <pavone@retrodev.com>
date Fri, 02 Aug 2019 18:51:13 -0700
parents 45be49d3a98b
children cae2b55d683f
files vdp.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/vdp.c	Sun Jul 28 10:35:15 2019 -0700
+++ b/vdp.c	Fri Aug 02 18:51:13 2019 -0700
@@ -2803,6 +2803,7 @@
 		//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)