aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mikisabate@gmail.com>2025-04-02 22:48:27 +0200
committerMiquel Sabaté Solà <mikisabate@gmail.com>2025-04-02 22:48:27 +0200
commitcd7e197eeb22f6e8407759c93e686debc23c550c (patch)
tree8f6d4ef7d9579a7d465d5e9badf345e5c8bc9d20 /src
parent99530bd47e9afa793ee6262bec03cd112441a120 (diff)
downloadjetpac.nes-cd7e197eeb22f6e8407759c93e686debc23c550c.tar.gz
jetpac.nes-cd7e197eeb22f6e8407759c93e686debc23c550c.zip
title: Allow selecting with the A button
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/title.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/title.s b/src/title.s
index 1c4b361..01d58f5 100644
--- a/src/title.s
+++ b/src/title.s
@@ -65,7 +65,7 @@
;; If none of the above has been pressed, our only possibility is the
;; start button. If that's the case, jump there, otherwise quit.
- lda #Joypad::BUTTON_START
+ lda #(Joypad::BUTTON_START | Joypad::BUTTON_A)
and Joypad::zp_buttons1
beq @end
JAL start