mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-03 00:16:36 -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:
@@ -2,6 +2,6 @@
|
||||
|
||||
#include "JSystem/JMessage/data.h"
|
||||
|
||||
const BE(u32) JMessage::data::ga4cSignature = 'MESG';
|
||||
DUSK_GAME_DATA const BE(u32) JMessage::data::ga4cSignature = 'MESG';
|
||||
|
||||
const BE(u32) JMessage::data::ga4cSignature_color = 'MGCL';
|
||||
DUSK_GAME_DATA const BE(u32) JMessage::data::ga4cSignature_color = 'MGCL';
|
||||
|
||||
@@ -89,7 +89,7 @@ u16 JMessage::TResource::toMessageIndex_messageID(u32 uMsgID, u32 upperHalf, boo
|
||||
return nIndex;
|
||||
}
|
||||
|
||||
JMessage::locale::parseCharacter_function JMessage::TResourceContainer::sapfnParseCharacter_[5] = {
|
||||
DUSK_GAME_DATA JMessage::locale::parseCharacter_function JMessage::TResourceContainer::sapfnParseCharacter_[5] = {
|
||||
NULL,
|
||||
JMessage::locale::parseCharacter_1Byte,
|
||||
JMessage::locale::parseCharacter_2Byte,
|
||||
|
||||
Reference in New Issue
Block a user