mirror of
https://github.com/Pecusx/scorch_src.git
synced 2026-05-21 06:39:40 +02:00
Fix for different types of joysticks in different ports.
This commit is contained in:
@@ -375,6 +375,15 @@ NoRMT_PALchange
|
||||
icl 'game.asm'
|
||||
;--------------------------------------------------
|
||||
|
||||
.proc SetJoystickPort
|
||||
sta JoystickNumber
|
||||
.IF TARGET = 800
|
||||
jsr WaitOneFrame
|
||||
jmp GetKey.Check2button ; update state second joy button
|
||||
.ELSE
|
||||
rts
|
||||
.ENDIF
|
||||
.endp
|
||||
|
||||
;--------------------------------------------------
|
||||
.proc GetKey
|
||||
|
||||
Reference in New Issue
Block a user