Mercurial > repos > blastem
diff vdp.h @ 1885:4178ce857e87
Calculate fine scroll once per line for a small speedup
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Sat, 21 Sep 2019 11:01:07 -0700 |
parents | 55198fc9cc1f |
children | 7bb4081e9e52 |
line wrap: on
line diff
--- a/vdp.h Sat Sep 21 10:53:51 2019 -0700 +++ b/vdp.h Sat Sep 21 11:01:07 2019 -0700 @@ -193,7 +193,9 @@ 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];