Fix build failing with NOOPT=1 due to discarding static data. (#8053)

This commit is contained in:
Ultimate_Bob 2025-11-06 03:07:05 +11:00 committed by GitHub
parent 0f14a4db57
commit c57bde3c5e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -664,7 +664,7 @@ static const struct DebugMenuOption sDebugMenu_Actions_Flags[] =
{ NULL }
};
static const u8 *sDebugMenu_Actions_BagUse_Options[] =
static const u8 *const sDebugMenu_Actions_BagUse_Options[] =
{
COMPOUND_STRING("No Bag: {STR_VAR_1}Inactive"),
COMPOUND_STRING("No Bag: {STR_VAR_1}VS Trainers"),