mirror of
https://github.com/cc65/cc65.git
synced 2026-04-26 13:18:31 +00:00
clean-up of driver return codes
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
.include "mouse-kernel.inc"
|
||||
.include "modload.inc"
|
||||
|
||||
.import return0
|
||||
.import return0, return1
|
||||
|
||||
|
||||
|
||||
@@ -29,7 +29,6 @@ _mouse_unload:
|
||||
jmp return0 ; Return MOUSE_ERR_OK
|
||||
|
||||
no_driver:
|
||||
tax ; X = 0
|
||||
pla ; Remove pushed junk
|
||||
lda #<MOUSE_ERR_NO_DRIVER
|
||||
rts
|
||||
.assert MOUSE_ERR_NO_DRIVER = 1, error
|
||||
jmp return1 ; Return MOUSE_ERR_NO_DRIVER
|
||||
|
||||
Reference in New Issue
Block a user