summaryrefslogtreecommitdiff
path: root/vdp.h
diff options
context:
space:
mode:
authorMike Pavone <pavone@retrodev.com>2012-12-08 11:12:17 -0800
committerMike Pavone <pavone@retrodev.com>2012-12-08 11:12:17 -0800
commitf7feb99641142f99520f0aec9705a2a3d121d207 (patch)
tree139d4d03050761c55b1f48f6bd42974289f44172 /vdp.h
parent0fe3c72239c1bc454965bfe6877307667135bbac (diff)
Sprites somewhat less broken
Diffstat (limited to 'vdp.h')
-rw-r--r--vdp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/vdp.h b/vdp.h
index 7561ba4..724e939 100644
--- a/vdp.h
+++ b/vdp.h
@@ -60,7 +60,8 @@ typedef struct {
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];