mirror of
https://github.com/cc65/cc65.git
synced 2025-04-06 20:37:16 +00:00
Merge pull request #621 from blackystardust/master
Fixed cpu detection.
This commit is contained in:
commit
60b9ea3222
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user