From 19bb763b860f4172215d637e304d872dbf262cb3 Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Sat, 30 Apr 2016 16:19:19 -0700 Subject: Set sprite overflow flag if we completely consume sprite rendering capacity for the line even if there is nothing left to draw. This graphical corruption in the vertical stretching scroll section. Needs hardware confirmation. --- vdp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vdp.c') diff --git a/vdp.c b/vdp.c index c1b8877..6192d0d 100644 --- a/vdp.c +++ b/vdp.c @@ -478,7 +478,7 @@ void read_sprite_x(uint32_t line, vdp_context * context) context->sprite_draw_list[context->sprite_draws].h_flip = (tileinfo & MAP_BIT_H_FLIP) ? 1 : 0; } } - if (i < width) { + if (!context->sprite_draws/*i < width*/) { context->flags |= FLAG_DOT_OFLOW; } context->cur_slot--; -- cgit v1.2.3