force sGFRomHeader to always be present (#7186)

This commit is contained in:
DizzyEggg 2025-06-23 10:37:49 +02:00 committed by GitHub
parent 6c6daa8b9c
commit 0dae2cea28
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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",