From 83ab5eb98d235c28bcc5123545699e7e9ed70815 Mon Sep 17 00:00:00 2001 From: FeralChild64 Date: Thu, 16 Jul 2020 22:29:40 +0200 Subject: [PATCH] fix problem with determining string location --- src/basic/engine/varstr_cmp_fretop.s | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/basic/engine/varstr_cmp_fretop.s b/src/basic/engine/varstr_cmp_fretop.s index fda23d4e..d11540bb 100644 --- a/src/basic/engine/varstr_cmp_fretop.s +++ b/src/basic/engine/varstr_cmp_fretop.s @@ -17,7 +17,6 @@ varstr_cmp_fretop: beq !+ rts !: - lda DSCPNT+2 - cmp FRETOP+1 + lda DSCPNT+1 + cmp FRETOP+0 rts -