]> git.sur5r.net Git - cc65/commitdiff
Fixed cpu detection.
authorMarco van den Heuvel <blackystardust68@yahoo.com>
Sun, 1 Apr 2018 01:59:15 +0000 (18:59 -0700)
committerMarco van den Heuvel <blackystardust68@yahoo.com>
Sun, 1 Apr 2018 01:59:15 +0000 (18:59 -0700)
libsrc/common/getcpu.s

index 7fe002f65ff8eb5e3c83b169e2d6242a54c77991..2acff0635284fc605ca4ba56210742d08129fb04 100644 (file)
@@ -53,7 +53,7 @@ _getcpu:
         adc     #1              ; $01+$09 = $10 on 6502, $01+$09 = $0A on 2a03/2a07
         cld
         cmp     #10
-        bne     @L5
+        beq     @L5
         lda     #0              ; CPU_6502 constant
         beq     @L9
 @L5: