Mercurial > repos > blastem
changeset 943:05229aa23b00
Adjust arrow X positions in menu
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Wed, 09 Mar 2016 21:46:31 -0800 |
parents | 74bb286e6174 |
children | 10dd8c04cbbc |
files | menu.s68 |
diffstat | 1 files changed, 11 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/menu.s68 Wed Mar 09 08:14:05 2016 -0800 +++ b/menu.s68 Wed Mar 09 21:46:31 2016 -0800 @@ -598,6 +598,17 @@ lsr.w #1, d4 moveq #20, d5 sub.w d4, d5 + ;calculate left arrow X + move.w d5, d4 + lsl.w #3, d4 + add.w #(128-24), d4 + move.w d4, (sprite_list+6).w + ;calculate right arrow x + move.w d7, d3 + lsl.w #3, d3 + add.w d3, d4 + add.w #32, d4 + move.w d4, (sprite_list+6+8).w ;restore menu pointer movea.l a4, a5 .drawloop @@ -624,7 +635,6 @@ ;y pos move.w d6, d2 ;base attribute - ;FIXME: Change base attribute to use fixed width font move.w #$206B, d0 bsr print_string_fixed