diff --git a/libsrc/common/getcpu.s b/libsrc/common/getcpu.s index 7fe002f65..169c56bbd 100644 --- a/libsrc/common/getcpu.s +++ b/libsrc/common/getcpu.s @@ -52,8 +52,8 @@ _getcpu: clc adc #1 ; $01+$09 = $10 on 6502, $01+$09 = $0A on 2a03/2a07 cld - cmp #10 - bne @L5 + cmp #$0a + beq @L5 lda #0 ; CPU_6502 constant beq @L9 @L5: