From f1d1d0efee9faa3067f7b0fc8b9a2aebb17f1ccd Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Sun, 8 Mar 2026 22:09:31 +0100 Subject: Support reading from the second controller MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miquel Sabaté Solà --- src/title.s | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/title.s') diff --git a/src/title.s b/src/title.s index 06ca1cb..d091922 100644 --- a/src/title.s +++ b/src/title.s @@ -38,7 +38,7 @@ bne @end lda #Joypad::BUTTON_UP - and Joypad::zp_buttons1 + and Joypad::zp_buttons beq @check_down lda #SPRITE_Y_POSITION0 @@ -49,7 +49,7 @@ @check_down: lda #Joypad::BUTTON_DOWN - and Joypad::zp_buttons1 + and Joypad::zp_buttons beq @check_select lda #SPRITE_Y_POSITION1 @@ -60,13 +60,13 @@ @check_select: lda #Joypad::BUTTON_SELECT - and Joypad::zp_buttons1 + and Joypad::zp_buttons bne @do_select ;; 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 | Joypad::BUTTON_A) - and Joypad::zp_buttons1 + and Joypad::zp_buttons beq @end JAL start -- cgit v1.2.3