Fix for different types of joysticks in different ports.

This commit is contained in:
Pecusx
2023-06-01 09:13:45 +02:00
parent 1b99839d77
commit 2d82073983
7 changed files with 21 additions and 7 deletions
+9
View File
@@ -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