mirror of
https://github.com/cc65/cc65.git
synced 2025-02-05 04:37:23 +00:00
Merge pull request #1637 from polluks2/save_a_few_bytes
Save a few bytes
This commit is contained in:
commit
b00cb182d9
@ -135,7 +135,7 @@ eof: lda #0
|
||||
|
||||
devnotpresent:
|
||||
lda #ENODEV
|
||||
jmp __directerrno ; Sets _errno, clears _oserror, returns -1
|
||||
.byte $2C ; Skip next opcode via BIT <abs>
|
||||
|
||||
; Error entry: The given file descriptor is not valid or not open
|
||||
|
||||
|
@ -106,7 +106,7 @@ devnotpresent2:
|
||||
pla
|
||||
devnotpresent:
|
||||
lda #ENODEV
|
||||
jmp __directerrno ; Sets _errno, clears _oserror, returns -1
|
||||
.byte $2C ; Skip next opcode via BIT <abs>
|
||||
|
||||
; Error entry: The given file descriptor is not valid or not open
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user