input buffer of length N should never match a game name of length < N

This commit is contained in:
4am 2019-07-04 16:31:28 -04:00
parent c8e9d9ab9d
commit 2d141e20c8

View File

@ -74,6 +74,8 @@ TextRankCallback
ldy #0
lda (zpstring),y
sta gamelength
cmp InputLength
bcc @no
lda #0
sta runningscore
sta runningscore+1
@ -91,6 +93,7 @@ TextRankCallback
cpy gamelength
iny
bcc --
@no
-- rts ; no match :(
+
ldx #80