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à --- basics/flicker.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'basics/flicker.s') diff --git a/basics/flicker.s b/basics/flicker.s index 2522cb2..5677968 100644 --- a/basics/flicker.s +++ b/basics/flicker.s @@ -38,7 +38,7 @@ @main_game_loop: ;; NOTE: the logic is pretty simple: read the pad, move the player ;; accordingly, and apply the flickering effect. - jsr joypad_read + READ_JOYPAD1 jsr Diskun::update ;; NOTE: comment this `jsr` out if you want to see what happens if no -- cgit v1.2.3