Fixed an error.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3837 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
4b27f80c91
commit
6c5c0be79f
1 changed files with 3 additions and 3 deletions
|
@ -15,14 +15,14 @@
|
||||||
|
|
||||||
__maperrno:
|
__maperrno:
|
||||||
lda __oserror ; Get the error code
|
lda __oserror ; Get the error code
|
||||||
beq @L1 ; Jump if no error
|
beq L9 ; Jump if no error
|
||||||
setoserror:
|
setoserror:
|
||||||
ldx #$00 ; Clear error
|
ldx #$00 ; Clear error
|
||||||
stx __oserror
|
stx __oserror
|
||||||
jsr __osmaperrno ; Map the code
|
jsr __osmaperrno ; Map the code
|
||||||
sta __errno
|
sta __errno
|
||||||
stx __errno+1
|
stx __errno+1
|
||||||
@L1: rts
|
L9: rts
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue