]> git.sur5r.net Git - cc65/commitdiff
Optimized the code a bit as suggested by Greg.
authorMarco van den Heuvel <blackystardust68@yahoo.com>
Thu, 26 Apr 2018 16:18:54 +0000 (09:18 -0700)
committerMarco van den Heuvel <blackystardust68@yahoo.com>
Thu, 26 Apr 2018 16:18:54 +0000 (09:18 -0700)
libsrc/c64/acc_detect_chameleon.s

index 4b90c6ea933d73a663d607190a3026e6036088fb..a16a264e7cd9e5588f00cf1a61c47b38d78fbb40 100755 (executable)
@@ -32,8 +32,8 @@ _detect_chameleon:
         beq     not_found
 found:
         lda     #$01
-        .byte   $2C
+        .byte   $24
 not_found:
-        lda     #$00
+        txa
         rts