Return 0 if color not found
git-svn-id: svn://svn.cc65.org/cc65/trunk@1792 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
67890598ac
commit
0824475804
1 changed files with 3 additions and 3 deletions
|
@ -39,11 +39,11 @@ _textcolor:
|
|||
; translate vdc->vic colour
|
||||
|
||||
vdctovic:
|
||||
ldy #15
|
||||
@L2: cmp $CE5C,y
|
||||
ldy #16
|
||||
@L2: cmp $CE5C-1,y
|
||||
beq @L3
|
||||
dey
|
||||
bpl @L2
|
||||
bne @L2
|
||||
@L3: tya
|
||||
rts
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue