From 63e23a3d74d3560ee0635d32961fd9c205890f05 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Tue, 3 Feb 2026 21:42:48 +0100 Subject: Add the __fallthrough__ pseudo-instruction MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The 'nasm' assembler now implements this, which is quite convenient. Define also a fake macro for it when the assembler is not 'nasm' just to bridge the gaps. Signed-off-by: Miquel Sabaté Solà --- src/driver.s | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/driver.s') diff --git a/src/driver.s b/src/driver.s index 60869c8..183c63f 100644 --- a/src/driver.s +++ b/src/driver.s @@ -156,8 +156,7 @@ @do_update: jsr Player::update jsr Bullets::update - JAL sprite_cycling - ;; TODO: fall through? + __fallthrough__ sprite_cycling .endproc .proc sprite_cycling -- cgit v1.2.3