mirror of
https://github.com/a2-4am/4cade.git
synced 2024-09-30 00:56:24 +00:00
input buffer of length N should never match a game name of length < N
This commit is contained in:
parent
c8e9d9ab9d
commit
2d141e20c8
@ -74,6 +74,8 @@ TextRankCallback
|
|||||||
ldy #0
|
ldy #0
|
||||||
lda (zpstring),y
|
lda (zpstring),y
|
||||||
sta gamelength
|
sta gamelength
|
||||||
|
cmp InputLength
|
||||||
|
bcc @no
|
||||||
lda #0
|
lda #0
|
||||||
sta runningscore
|
sta runningscore
|
||||||
sta runningscore+1
|
sta runningscore+1
|
||||||
@ -91,6 +93,7 @@ TextRankCallback
|
|||||||
cpy gamelength
|
cpy gamelength
|
||||||
iny
|
iny
|
||||||
bcc --
|
bcc --
|
||||||
|
@no
|
||||||
-- rts ; no match :(
|
-- rts ; no match :(
|
||||||
+
|
+
|
||||||
ldx #80
|
ldx #80
|
||||||
|
Loading…
Reference in New Issue
Block a user