diff options
author | Michael Pavone <pavone@retrodev.com> | 2019-09-21 11:01:07 -0700 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2019-09-21 11:01:07 -0700 |
commit | 84aab9842b90b12ccf545b48f3683c8622208ec1 (patch) | |
tree | 787d6eceb91963a94042c41daa7bc7b1652f95d6 /vdp.h | |
parent | c873288c42e268cb7ca0350c0b8d7b19a67a50c5 (diff) |
Calculate fine scroll once per line for a small speedup
Diffstat (limited to 'vdp.h')
-rw-r--r-- | vdp.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -193,7 +193,9 @@ typedef struct { uint16_t border_top; uint16_t border_bot; uint16_t hscroll_a; + uint16_t hscroll_a_fine; uint16_t hscroll_b; + uint16_t hscroll_b_fine; uint16_t h40_lines; uint16_t output_lines; sprite_draw sprite_draw_list[MAX_SPRITES_LINE]; |