mirror of
https://github.com/cc65/cc65.git
synced 2024-07-05 06:28:57 +00:00
Merge pull request #247 from clbr/master
nes: Fix reading the second controller
This commit is contained in:
commit
82860423f3
@ -95,9 +95,9 @@ READJOY:
|
|||||||
tay ; Joystick number (0,1) into Y
|
tay ; Joystick number (0,1) into Y
|
||||||
|
|
||||||
lda #1
|
lda #1
|
||||||
sta APU_PAD1,y
|
sta APU_PAD1
|
||||||
lda #0
|
lda #0
|
||||||
sta APU_PAD1,y
|
sta APU_PAD1
|
||||||
|
|
||||||
; Read joystick
|
; Read joystick
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user