From c806c787280a0dc60729fa8506ec3c0b7a504058 Mon Sep 17 00:00:00 2001 From: Mattias Hansson Date: Fri, 17 Apr 2026 17:11:43 +0200 Subject: [PATCH] Latest changes for new compiler features that remove unused funcs --- cardgame.c65 | 3 +++ gameloop.c65 | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/cardgame.c65 b/cardgame.c65 index 7f80206..1999f20 100644 --- a/cardgame.c65 +++ b/cardgame.c65 @@ -1,6 +1,9 @@ #INCLUDE #INCLUDE +#PRAGMA _P_USE_IMMUTABLE_CODE 1 +#PRAGMA _P_REMOVE_UNUSED 1 + //#DEFINE MOUSE_NO_SMOOTHING 1 // Enable test game setups (comment out for release build) diff --git a/gameloop.c65 b/gameloop.c65 index 2b24b51..68d2665 100644 --- a/gameloop.c65 +++ b/gameloop.c65 @@ -530,7 +530,6 @@ FEND // ============================================================================ FUNC render_pile_by_id({BYTE pile_id}) WORD pile_ptr @ $92 - WORD screen_offset pile_id_to_pointer(pile_id, pile_ptr) IF pile_ptr == 0