diff options
author | Mike Pavone <pavone@retrodev.com> | 2012-12-31 11:26:57 -0800 |
---|---|---|
committer | Mike Pavone <pavone@retrodev.com> | 2012-12-31 11:26:57 -0800 |
commit | 418dd74e406d2cd3134e5ecb175d4ae8b46e70e1 (patch) | |
tree | 5a9f3b06b73a8fb431707226be2853f557966709 /vdp.h | |
parent | 8dc3c22d3d0a2f34cd6321365761df66e32847f3 (diff) |
Fix VDP reads
Diffstat (limited to 'vdp.h')
-rw-r--r-- | vdp.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -77,7 +77,9 @@ typedef struct { typedef struct { uint32_t cycle; + uint16_t address; uint16_t value; + uint8_t cd; uint8_t partial; } fifo_entry; @@ -87,6 +89,7 @@ typedef struct { uint16_t address; uint8_t cd; uint8_t flags; + uint8_t regs[VDP_REGS]; //cycle count in MCLKs uint32_t cycles; uint8_t *vdpmem; @@ -103,7 +106,6 @@ typedef struct { uint8_t sprite_draws; 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]; uint16_t col_1; |