diff options
author | Michael Pavone <pavone@retrodev.com> | 2015-05-16 23:04:57 -0700 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2015-05-16 23:04:57 -0700 |
commit | 7e2fdcb2f3378827b1286e8d7ee5290303e71d6b (patch) | |
tree | fadfddd2b45590a2bfc77a4905e827df947bb98a /vdp.h | |
parent | b31d70dcda706dbf8a3a34ea27ff614617c1c9c1 (diff) |
First pass at emulating a vscroll latch. Titan's Overdrive demo seems to depend on the scroll value being latched early in the line before the HINT gets a chance to change it
Diffstat (limited to 'vdp.h')
-rw-r--r-- | vdp.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -143,6 +143,7 @@ typedef struct { uint32_t colors[CRAM_SIZE*3]; uint32_t debugcolors[1 << (3 + 1 + 1 + 1)];//3 bits for source, 1 bit for priority, 1 bit for shadow, 1 bit for hilight uint16_t vsram[VSRAM_SIZE]; + uint16_t vscroll_latch[2]; uint32_t frame; uint16_t vcounter; uint16_t hslot; //hcounter/2 |