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:
@@ -18,10 +18,10 @@ __osmaperrno:
|
|||||||
dex
|
dex
|
||||||
bne @L1 ; Next entry
|
bne @L1 ; Next entry
|
||||||
|
|
||||||
; Code not found, return EINVAL
|
; Code not found, return EUNKNOWN
|
||||||
|
|
||||||
lda #<EINVAL
|
lda #<EUNKNOWN
|
||||||
ldx #>EINVAL
|
ldx #>EUNKNOWN
|
||||||
rts
|
rts
|
||||||
|
|
||||||
; Found the code
|
; Found the code
|
||||||
|
|||||||
Reference in New Issue
Block a user