Mercurial > repos > blastem
comparison vdp.c @ 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 |
comparison
equal
deleted
inserted
replaced
998:bf63cbf1d7bb | 999:238141756e67 |
---|---|
476 context->sprite_draw_list[context->sprite_draws].x_pos = x; | 476 context->sprite_draw_list[context->sprite_draws].x_pos = x; |
477 context->sprite_draw_list[context->sprite_draws].pal_priority = pal_priority; | 477 context->sprite_draw_list[context->sprite_draws].pal_priority = pal_priority; |
478 context->sprite_draw_list[context->sprite_draws].h_flip = (tileinfo & MAP_BIT_H_FLIP) ? 1 : 0; | 478 context->sprite_draw_list[context->sprite_draws].h_flip = (tileinfo & MAP_BIT_H_FLIP) ? 1 : 0; |
479 } | 479 } |
480 } | 480 } |
481 if (i < width) { | 481 if (!context->sprite_draws/*i < width*/) { |
482 context->flags |= FLAG_DOT_OFLOW; | 482 context->flags |= FLAG_DOT_OFLOW; |
483 } | 483 } |
484 context->cur_slot--; | 484 context->cur_slot--; |
485 } else { | 485 } else { |
486 context->flags |= FLAG_DOT_OFLOW; | 486 context->flags |= FLAG_DOT_OFLOW; |