Mercurial > repos > blastem
comparison vdp.c @ 1000:1a797fcbb35f
Added TODO for hardware checking
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Sat, 30 Apr 2016 16:19:57 -0700 |
parents | 238141756e67 |
children | 1dc749c9c0d9 |
comparison
equal
deleted
inserted
replaced
999:238141756e67 | 1000:1a797fcbb35f |
---|---|
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 (!context->sprite_draws/*i < width*/) { | 481 //Used to be i < width |
482 //TODO: Confirm this is the right condition on hardware | |
483 if (!context->sprite_draws) { | |
482 context->flags |= FLAG_DOT_OFLOW; | 484 context->flags |= FLAG_DOT_OFLOW; |
483 } | 485 } |
484 context->cur_slot--; | 486 context->cur_slot--; |
485 } else { | 487 } else { |
486 context->flags |= FLAG_DOT_OFLOW; | 488 context->flags |= FLAG_DOT_OFLOW; |