aboutsummaryrefslogtreecommitdiff
path: root/src/bullets.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/bullets.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/bullets.s')
-rw-r--r--src/bullets.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bullets.s b/src/bullets.s
index 58b6a4a..3cc74b9 100644
--- a/src/bullets.s
+++ b/src/bullets.s
@@ -104,7 +104,7 @@
@check_bullets_pressed:
;; Is the B button pressed? If not go to `@move_bullets` directly.
lda #(Joypad::BUTTON_B)
- and Joypad::zp_buttons1
+ and Joypad::zp_buttons
beq @move_bullets
;; The B button was pressed. Reset the bullet timer.