summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2016-04-30 16:19:57 -0700
committerMichael Pavone <pavone@retrodev.com>2016-04-30 16:19:57 -0700
commit71de7d6f718cd6d0e5110c0a3db52a680a8554c4 (patch)
treec3a71443316e8b7606ae8c865559b5adc84bfd48
parent19bb763b860f4172215d637e304d872dbf262cb3 (diff)
Added TODO for hardware checking
-rw-r--r--vdp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/vdp.c b/vdp.c
index 6192d0d..4c764fa 100644
--- a/vdp.c
+++ b/vdp.c
@@ -478,7 +478,9 @@ void read_sprite_x(uint32_t line, vdp_context * context)
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--;