mirror of
https://github.com/a2-4am/4cade.git
synced 2024-12-17 22:30:04 +00:00
fix off-by-1 bug in text rank caused by using the last character of the game display name as a bitfield
This commit is contained in:
parent
96212ee77e
commit
49931985f7
@ -86,6 +86,8 @@ TextRankCallback
|
|||||||
+ST16 zpword
|
+ST16 zpword
|
||||||
ldy #0
|
ldy #0
|
||||||
lda (zpstring),y
|
lda (zpstring),y
|
||||||
|
sec
|
||||||
|
sbc #1
|
||||||
cmp InputLength
|
cmp InputLength
|
||||||
bcc ++
|
bcc ++
|
||||||
sta gamelength
|
sta gamelength
|
||||||
|
Loading…
Reference in New Issue
Block a user