From 55e62733097b443ce7b2680ef233c36a71d66325 Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Thu, 28 Jan 2016 09:10:14 -0800 Subject: 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 --- vdp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vdp.h') 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; -- cgit v1.2.3