mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-13 19:44:32 -04:00
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:
@@ -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};
|
||||
|
||||
Reference in New Issue
Block a user