mirror of
https://github.com/cc65/cc65.git
synced 2024-12-23 04:30:10 +00:00
a small optimization
git-svn-id: svn://svn.cc65.org/cc65/trunk@1007 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
d25f2db256
commit
5f36ad2d53
@ -22,15 +22,14 @@
|
|||||||
lda #CLOSE
|
lda #CLOSE
|
||||||
sta ICCOM,x
|
sta ICCOM,x
|
||||||
jsr CIOV
|
jsr CIOV
|
||||||
bpl ok
|
bmi closerr
|
||||||
jmp __do_oserror
|
|
||||||
|
|
||||||
ok: ldx #0
|
ok: ldx #0
|
||||||
stx __oserror ; clear system specific error code
|
stx __oserror ; clear system specific error code
|
||||||
txa
|
txa
|
||||||
rts
|
rts
|
||||||
|
|
||||||
inverr: jmp __inviocb
|
inverr: jmp __inviocb
|
||||||
|
closerr:jmp __do_oserror
|
||||||
|
|
||||||
.endproc
|
.endproc
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user