Annotate all data with DUSK_GAME_DATA (#2214)

The hope of auto-importing data via lld MinGW
+ pseudo_reloc is now dead thanks to ARM64,
so I just wrote a script to go annotate every
exported data symbol in the game instead.
This commit is contained in:
Luke Street
2026-07-14 13:49:21 -06:00
committed by GitHub
parent f5d30a886d
commit eed14acdc6
843 changed files with 4817 additions and 4821 deletions
+5 -5
View File
@@ -1207,9 +1207,9 @@ void dComIfG_inf_c::createBaseCsr() {
}
#endif
GXColor g_clearColor = {0, 0, 0, 0};
DUSK_GAME_DATA GXColor g_clearColor = {0, 0, 0, 0};
GXColor g_blackColor = {0, 0, 0, 255};
DUSK_GAME_DATA GXColor g_blackColor = {0, 0, 0, 255};
int dComIfG_changeOpeningScene(scene_class* i_scene, s16 i_procName) {
dComIfGp_offEnableNextStage();
@@ -1228,7 +1228,7 @@ int dComIfG_changeOpeningScene(scene_class* i_scene, s16 i_procName) {
return 1;
}
dComIfG_inf_c g_dComIfG_gameInfo;
DUSK_GAME_DATA dComIfG_inf_c g_dComIfG_gameInfo;
BOOL dComIfG_resetToOpening(scene_class* i_scene) {
#if PLATFORM_WII || VERSION == VERSION_SHIELD_DEBUG
@@ -2987,6 +2987,6 @@ u8 dComIfGs_staffroll_next_go_check() {
return envLight->staffroll_next_timer;
}
GXColor g_whiteColor = {255, 255, 255, 255};
DUSK_GAME_DATA GXColor g_whiteColor = {255, 255, 255, 255};
GXColor g_saftyWhiteColor = {160, 160, 160, 255};
DUSK_GAME_DATA GXColor g_saftyWhiteColor = {160, 160, 160, 255};