From 0dae2cea28a2006d61de73e21940b478e38efa6b Mon Sep 17 00:00:00 2001 From: DizzyEggg Date: Mon, 23 Jun 2025 10:37:49 +0200 Subject: [PATCH] force sGFRomHeader to always be present (#7186) --- src/rom_header_gf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rom_header_gf.c b/src/rom_header_gf.c index 182d879c83..5613fe6152 100644 --- a/src/rom_header_gf.c +++ b/src/rom_header_gf.c @@ -99,7 +99,7 @@ struct GFRomHeader // This seems to need to be in the text section for some reason. // To avoid a changed section attributes warning it's put in a special .text.consts section. __attribute__((section(".text.consts"))) -static const struct GFRomHeader sGFRomHeader = { +USED static const struct GFRomHeader sGFRomHeader = { .version = GAME_VERSION, .language = GAME_LANGUAGE, .gameName = "pokemon emerald version",