Mercurial > repos > blastem
changeset 999:238141756e67
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.
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Sat, 30 Apr 2016 16:19:19 -0700 |
parents | bf63cbf1d7bb |
children | 1a797fcbb35f |
files | vdp.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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--;