summaryrefslogtreecommitdiff
path: root/vdp.h
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2016-01-28 09:10:14 -0800
committerMichael Pavone <pavone@retrodev.com>2016-01-28 09:10:14 -0800
commit55e62733097b443ce7b2680ef233c36a71d66325 (patch)
treea3a9c8d70a09195ea5baf25e88f330ab7648255b /vdp.h
parent0a9137377b930b7a80200424db2bf3db806a3220 (diff)
Shift slot number to slot behavior mapping by six slots in H40 mode. This makes the line change slot align with the point at which the display turns on and off at the end of the active display area. Also fixed a regression in which an external slot got accidentally changed into a sprite draw slot
Diffstat (limited to 'vdp.h')
-rw-r--r--vdp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vdp.h b/vdp.h
index 5b9288c..1e0de91 100644
--- a/vdp.h
+++ b/vdp.h
@@ -148,9 +148,9 @@ typedef struct {
uint16_t vscroll_latch[2];
uint32_t frame;
uint16_t vcounter;
- uint16_t hslot; //hcounter/2
uint16_t hscroll_a;
uint16_t hscroll_b;
+ uint8_t hslot; //hcounter/2
uint8_t latched_mode;
uint8_t sprite_index;
uint8_t sprite_draws;