From: Marco van den Heuvel Date: Sun, 1 Apr 2018 01:59:15 +0000 (-0700) Subject: Fixed cpu detection. X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9db6f059ace9ea2dd6538a48e150fe4ca4e76a5a;p=cc65 Fixed cpu detection. --- diff --git a/libsrc/common/getcpu.s b/libsrc/common/getcpu.s index 7fe002f65..2acff0635 100644 --- a/libsrc/common/getcpu.s +++ b/libsrc/common/getcpu.s @@ -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: