Mercurial > repos > blastem
comparison 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 |
comparison
equal
deleted
inserted
replaced
1884:b5549258b98b | 1885:4178ce857e87 |
---|---|
191 uint16_t vcounter; | 191 uint16_t vcounter; |
192 uint16_t inactive_start; | 192 uint16_t inactive_start; |
193 uint16_t border_top; | 193 uint16_t border_top; |
194 uint16_t border_bot; | 194 uint16_t border_bot; |
195 uint16_t hscroll_a; | 195 uint16_t hscroll_a; |
196 uint16_t hscroll_a_fine; | |
196 uint16_t hscroll_b; | 197 uint16_t hscroll_b; |
198 uint16_t hscroll_b_fine; | |
197 uint16_t h40_lines; | 199 uint16_t h40_lines; |
198 uint16_t output_lines; | 200 uint16_t output_lines; |
199 sprite_draw sprite_draw_list[MAX_SPRITES_LINE]; | 201 sprite_draw sprite_draw_list[MAX_SPRITES_LINE]; |
200 sprite_info sprite_info_list[MAX_SPRITES_LINE]; | 202 sprite_info sprite_info_list[MAX_SPRITES_LINE]; |
201 uint8_t sat_cache[SAT_CACHE_SIZE]; | 203 uint8_t sat_cache[SAT_CACHE_SIZE]; |