Return EUNKNOWN instead of EINVAL if the error code cannot be mapped.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4695 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
a9ba343e1b
commit
d7aaac7e71
1 changed files with 3 additions and 3 deletions
|
@ -18,10 +18,10 @@ __osmaperrno:
|
|||
dex
|
||||
bne @L1 ; Next entry
|
||||
|
||||
; Code not found, return EINVAL
|
||||
; Code not found, return EUNKNOWN
|
||||
|
||||
lda #<EINVAL
|
||||
ldx #>EINVAL
|
||||
lda #<EUNKNOWN
|
||||
ldx #>EUNKNOWN
|
||||
rts
|
||||
|
||||
; Found the code
|
||||
|
|
Loading…
Add table
Reference in a new issue