diff options
author | Michael Pavone <pavone@retrodev.com> | 2017-04-21 01:22:52 -0700 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2017-04-21 01:22:52 -0700 |
commit | e73ff9ec75a85c187c0a46bd4a79bf76282dd871 (patch) | |
tree | eca130612c8782dec2b58d12a1511ad74d7a1338 /vdp.h | |
parent | c23439852e6e0292a4293eb2b0dc6910de66bc54 (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.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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; |