mirror of
https://github.com/badvision/lawless-legends.git
synced 2025-01-12 12:30:07 +00:00
Fixed bug with center scroll eventually overflowing.
This commit is contained in:
parent
cf55e06347
commit
03e0117537
@ -554,6 +554,9 @@ SetWnd LDA evalStkL+SW_TOP,X ;get top coord
|
|||||||
JSR GetOfst
|
JSR GetOfst
|
||||||
LDA HgrHrz
|
LDA HgrHrz
|
||||||
STA LfMrgn ;that's the left margin for scrolling
|
STA LfMrgn ;that's the left margin for scrolling
|
||||||
|
LDA #0
|
||||||
|
STA TtlScrl ;clear centering variables
|
||||||
|
STA WrdWdth
|
||||||
RTS
|
RTS
|
||||||
|
|
||||||
;Routine: Scroll screen up 1 character line
|
;Routine: Scroll screen up 1 character line
|
||||||
|
Loading…
x
Reference in New Issue
Block a user