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
+2 -2
View File
@@ -289,7 +289,7 @@ void J3DShape::makeVcdVatCmd() {
OSRestoreInterrupts(sInterruptFlag);
}
void* J3DShape::sOldVcdVatCmd;
DUSK_GAME_DATA void* J3DShape::sOldVcdVatCmd;
void J3DShape::loadCurrentMtx() const {
mCurrentMtx.load();
@@ -304,7 +304,7 @@ void J3DShape::loadPreDrawSetting() const {
mCurrentMtx.load();
}
bool J3DShape::sEnvelopeFlag;
DUSK_GAME_DATA bool J3DShape::sEnvelopeFlag;
void J3DShape::setArrayAndBindPipeline() const {
J3DShapeMtx::setCurrentPipeline((mFlags & 0x1C) >> 2);