summaryrefslogtreecommitdiff
path: root/vdp.h
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2017-04-21 01:22:52 -0700
committerMichael Pavone <pavone@retrodev.com>2017-04-21 01:22:52 -0700
commite73ff9ec75a85c187c0a46bd4a79bf76282dd871 (patch)
treeeca130612c8782dec2b58d12a1511ad74d7a1338 /vdp.h
parentc23439852e6e0292a4293eb2b0dc6910de66bc54 (diff)
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
Diffstat (limited to 'vdp.h')
-rw-r--r--vdp.h5
1 files changed, 3 insertions, 2 deletions
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;