mirror of
https://github.com/zeldaret/botw
synced 2026-06-20 23:51:22 -04:00
Add #ifdef declarations for NON_MATCHING code
This commit is contained in:
@@ -76,7 +76,8 @@ Manager::~Manager() {
|
||||
}
|
||||
}
|
||||
|
||||
// NON_MATCHING: address differences for the static bgdata_factory that causes different regalloc
|
||||
// address differences for the static bgdata_factory that causes different regalloc
|
||||
#ifdef NON_MATCHING
|
||||
void Manager::init(sead::Heap* heap, sead::Framework* framework) {
|
||||
sead::TickTime a;
|
||||
sead::TickTime b;
|
||||
@@ -137,6 +138,7 @@ void Manager::init(sead::Heap* heap, sead::Framework* framework) {
|
||||
mBitFlags.set(BitFlag::_1000);
|
||||
mNumFlagsToReset = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
void Manager::loadShopGameDataInfo(const sead::SafeString& path) {
|
||||
res::LoadRequest req;
|
||||
@@ -795,7 +797,8 @@ void Manager::syncStart() {
|
||||
util::safeDeleteArray(buffer);
|
||||
}
|
||||
|
||||
// NON_MATCHING: recordFlagChange calls not being merged, or merged in the wrong way
|
||||
// recordFlagChange calls not being merged, or merged in the wrong way
|
||||
#ifdef NON_MATCHING
|
||||
void Manager::syncUpdate(const char* data) {
|
||||
const sead::SafeString cmd = data;
|
||||
auto it = cmd.tokenBegin("|");
|
||||
@@ -1032,6 +1035,7 @@ void Manager::syncUpdate(const char* data) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
void Manager::recordFlagChange(u32 platform_core_id, TriggerParam* tparam, u8 type, const s32& idx,
|
||||
const s32& sub_idx) {
|
||||
|
||||
Reference in New Issue
Block a user