summaryrefslogtreecommitdiff
path: root/vdp.h
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2019-09-21 11:01:07 -0700
committerMichael Pavone <pavone@retrodev.com>2019-09-21 11:01:07 -0700
commit84aab9842b90b12ccf545b48f3683c8622208ec1 (patch)
tree787d6eceb91963a94042c41daa7bc7b1652f95d6 /vdp.h
parentc873288c42e268cb7ca0350c0b8d7b19a67a50c5 (diff)
Calculate fine scroll once per line for a small speedup
Diffstat (limited to 'vdp.h')
-rw-r--r--vdp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/vdp.h b/vdp.h
index 5904195..780ad20 100644
--- a/vdp.h
+++ b/vdp.h
@@ -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];