aboutsummaryrefslogtreecommitdiff
path: root/src/driver.s
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mssola@mssola.com>2026-03-08 22:09:31 +0100
committerMiquel Sabaté Solà <mssola@mssola.com>2026-03-08 22:14:15 +0100
commitf1d1d0efee9faa3067f7b0fc8b9a2aebb17f1ccd (patch)
treeeb6c2008a025f6ae88f7dc1e3f61360599189e0e /src/driver.s
parentfeed0b705daff0001253b6ec89b61c9821d2fe21 (diff)
downloadjetpac.nes-f1d1d0efee9faa3067f7b0fc8b9a2aebb17f1ccd.tar.gz
jetpac.nes-f1d1d0efee9faa3067f7b0fc8b9a2aebb17f1ccd.zip
Support reading from the second controller
Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
Diffstat (limited to 'src/driver.s')
-rw-r--r--src/driver.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/driver.s b/src/driver.s
index 3bf4399..942bf82 100644
--- a/src/driver.s
+++ b/src/driver.s
@@ -179,7 +179,7 @@
;; Check if the player is toggling the `pause` state.
lda #(Joypad::BUTTON_START | Joypad::BUTTON_SELECT)
- and Joypad::zp_buttons1
+ and Joypad::zp_buttons
beq @skip_pause_handling
;; What does the timer say, is the player allowed to do it?