From 428c301a80641361f51af8102628b545cf9ae63e Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Tue, 11 Mar 2025 17:00:47 +0100 Subject: shared: Bring joypad into a proper style MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Put functions inside of the scope, avoid useless fallthroughs and be more realistic on what is needed from elsewhere. Signed-off-by: Miquel Sabaté Solà --- scroll/sprite0.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scroll/sprite0.s') diff --git a/scroll/sprite0.s b/scroll/sprite0.s index 4bd940d..a1944e6 100644 --- a/scroll/sprite0.s +++ b/scroll/sprite0.s @@ -142,7 +142,7 @@ BACKGROUND_ROW_OFFSET = 1 sta PPU::CONTROL @main_game_loop: - jsr joypad_read + READ_JOYPAD1 jsr Player::update jsr Driver::update -- cgit v1.2.3