mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-28 07:38:29 -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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user