changeset 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
files vdp.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/vdp.c	Sat Apr 30 16:19:19 2016 -0700
+++ b/vdp.c	Sat Apr 30 16:19:57 2016 -0700
@@ -478,7 +478,9 @@
 					context->sprite_draw_list[context->sprite_draws].h_flip = (tileinfo & MAP_BIT_H_FLIP) ? 1 : 0;
 				}
 			}
-			if (!context->sprite_draws/*i < width*/) {
+			//Used to be i < width
+			//TODO: Confirm this is the right condition on hardware
+			if (!context->sprite_draws) {
 				context->flags |= FLAG_DOT_OFLOW;
 			}
 			context->cur_slot--;