mirror of
https://github.com/cc65/cc65.git
synced 2025-04-11 09:37:10 +00:00
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
@ -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…
x
Reference in New Issue
Block a user