# HG changeset patch # User Michael Pavone # Date 1462058359 25200 # Node ID 238141756e6710fb3e5192b68290e0bf0df82e5a # Parent bf63cbf1d7bb97134b111ffa42a5045dd0b1c84e 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. diff -r bf63cbf1d7bb -r 238141756e67 vdp.c --- a/vdp.c Sat Apr 30 15:31:48 2016 -0700 +++ b/vdp.c Sat Apr 30 16:19:19 2016 -0700 @@ -478,7 +478,7 @@ 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--;