diff vdp.h @ 21:72ce60cb1711

Sprites somewhat less broken
author Mike Pavone <pavone@retrodev.com>
date Sat, 08 Dec 2012 11:12:17 -0800
parents f664eeb55cb4
children 0e7df84158b1
line wrap: on
line diff
--- a/vdp.h	Sat Dec 08 02:00:54 2012 -0800
+++ b/vdp.h	Sat Dec 08 11:12:17 2012 -0800
@@ -60,7 +60,8 @@
 	uint16_t    hscroll_b;
 	uint8_t	    sprite_index;
 	uint8_t     sprite_draws;
-	uint8_t     slot_counter;
+	int8_t      slot_counter;
+	int8_t      cur_slot;
 	uint8_t     regs[VDP_REGS];
 	sprite_draw sprite_draw_list[MAX_DRAWS];
 	sprite_info sprite_info_list[MAX_SPRITES_LINE];