From 3993f546b13118883054a950d0b045a01503b29f Mon Sep 17 00:00:00 2001 From: kounch Date: Sat, 6 Jun 2020 12:26:19 +0200 Subject: [PATCH] Fixed edge case error on cache build --- knloader.bas | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/knloader.bas b/knloader.bas index c200707..22a2b5d 100644 --- a/knloader.bas +++ b/knloader.bas @@ -29,13 +29,13 @@ 330 LET %k=0:IF %d=0 THEN GO TO %320 340 GO SUB %4000:LET %d=0 360 IF J=0 AND K$="" THEN GO TO %320 - 370 IF J=IN 31 OR K$=INKEY$ THEN IF %k=1 THEN GO TO %440 + 370 IF J=IN 31 OR K$=INKEY$ THEN IF %k=1 THEN GO TO %440 380 IF J<>IN 31 AND K$<>INKEY$ THEN LET %k=0:GO TO %430 390 IF K$<>"6" AND K$<>CHR$(10) AND J<>4 AND K$<>"7" AND K$<>CHR$(11) AND J<>8 THEN GO TO %430 400 LET %t=PEEK 23672:LET kr=1 410 LET %r=256+PEEK 23672:LET %r=%(r-t) MOD 255 420 IF %r