From 49931985f7a83f89fba905ad61619d338876c21e Mon Sep 17 00:00:00 2001 From: 4am Date: Tue, 31 Mar 2020 19:08:43 -0400 Subject: [PATCH] fix off-by-1 bug in text rank caused by using the last character of the game display name as a bitfield --- src/textrank.a | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/textrank.a b/src/textrank.a index 022f2f3dc..866d7a2c0 100644 --- a/src/textrank.a +++ b/src/textrank.a @@ -86,6 +86,8 @@ TextRankCallback +ST16 zpword ldy #0 lda (zpstring),y + sec + sbc #1 cmp InputLength bcc ++ sta gamelength