# HG changeset patch # User Michael Pavone # Date 1457588791 28800 # Node ID 05229aa23b00385bddd4869d3fc89d311ec85f11 # Parent 74bb286e617439221db7b4622f6be2eedd347c2d Adjust arrow X positions in menu diff -r 74bb286e6174 -r 05229aa23b00 menu.s68 --- 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