mirror of
https://github.com/pkali/scorch_src.git
synced 2026-05-21 06:39:46 +02:00
Fix for silly "big mountains" bug.
It's not a real fix, but rather a workaround. The putchar4x4 routine now checks for writing off-screen.
This commit is contained in:
@@ -1532,6 +1532,7 @@ DOTNcharloop
|
||||
sta dx+1
|
||||
lda TextPositionY
|
||||
sta dy
|
||||
mva #0 dy+1 ; dy is 2 bytes value
|
||||
jsr PutChar4x4
|
||||
|
||||
inc TextCounter
|
||||
@@ -1617,6 +1618,7 @@ TypeLine4x4Loop
|
||||
sta CharCode4x4
|
||||
mwa LineXdraw dx
|
||||
mva LineYdraw dy
|
||||
mva #0 dy+1 ; dy is 2 bytes value
|
||||
jsr PutChar4x4 ;type empty pixels as well!
|
||||
adw LineXdraw #4
|
||||
inc LineCharNr
|
||||
|
||||
Reference in New Issue
Block a user