From e73ff9ec75a85c187c0a46bd4a79bf76282dd871 Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Fri, 21 Apr 2017 01:22:52 -0700 Subject: Fairly major rework of how active/passive is handled along with how the V30 mode bit is handled. Allows the vertical border extension trick in Overdrive 2 to work right --- vdp.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'vdp.h') diff --git a/vdp.h b/vdp.h index 85281bb..71c6c9c 100644 --- a/vdp.h +++ b/vdp.h @@ -177,9 +177,9 @@ typedef struct { uint16_t border_bot; uint16_t hscroll_a; uint16_t hscroll_b; - uint16_t h40_lines; + uint16_t h40_lines; + uint16_t output_lines; uint8_t hslot; //hcounter/2 - uint8_t latched_mode; uint8_t sprite_index; uint8_t sprite_draws; int8_t slot_counter; @@ -204,6 +204,7 @@ typedef struct { uint8_t debug; uint8_t debug_pal; uint8_t pending_byte; + uint8_t state; uint8_t *tmp_buf_a; uint8_t *tmp_buf_b; } vdp_context; -- cgit v1.2.3