mirror of
https://github.com/cc65/cc65.git
synced 2025-01-14 00:32:08 +00:00
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
@ -15,14 +15,14 @@
|
||||
|
||||
__maperrno:
|
||||
lda __oserror ; Get the error code
|
||||
beq @L1 ; Jump if no error
|
||||
setoserror:
|
||||
beq L9 ; Jump if no error
|
||||
setoserror:
|
||||
ldx #$00 ; Clear error
|
||||
stx __oserror
|
||||
jsr __osmaperrno ; Map the code
|
||||
sta __errno
|
||||
stx __errno+1
|
||||
@L1: rts
|
||||
L9: rts
|
||||
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user