1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-24 11:31:31 +00:00

Fixed two more function that didn't clear the high byte of the function result.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4049 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz 2009-08-23 21:40:36 +00:00
parent 4c4071b34a
commit 23dae5a04b
2 changed files with 4 additions and 2 deletions

View File

@ -10,7 +10,8 @@
_cbm_k_chkin:
tax
jsr CHKIN
ldx #0 ; Clear high byte
bcs @NotOk
lda #0
txa
@NotOk: rts

View File

@ -11,6 +11,7 @@
_cbm_k_ckout:
tax
jsr CKOUT
ldx #0 ; Clear high byte
bcs @NotOk
lda #0
txa
@NotOk: rts