Don't install the IRQ vector if joy_install returns an error
git-svn-id: svn://svn.cc65.org/cc65/trunk@3624 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
5fe15ab61a
commit
b17be7f2e8
1 changed files with 2 additions and 0 deletions
|
@ -77,6 +77,8 @@ _joy_install:
|
|||
bne @L2
|
||||
|
||||
jsr joy_install ; Call driver install routine
|
||||
tay ; Test error code
|
||||
bne @L3 ; Bail out if install had errors
|
||||
|
||||
; Install the IRQ vector if the driver needs it. A/X contains the error code
|
||||
; from joy_install, so don't use it.
|
||||
|
|
Loading…
Add table
Reference in a new issue