1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-07 23:29:39 +00:00

Merge pull request #621 from blackystardust/master

Fixed cpu detection.
This commit is contained in:
Bob Andrews 2018-04-04 20:40:25 +02:00 committed by GitHub
commit 60b9ea3222
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: