mirror of
https://github.com/zeldaret/botw
synced 2026-07-09 14:05:33 -04:00
Add #ifdef declarations for NON_MATCHING code
This commit is contained in:
@@ -275,7 +275,8 @@ bool Handle::hasParsedResource() const {
|
||||
return mFlags.isOn(Flag::Parsed);
|
||||
}
|
||||
|
||||
// NON_MATCHING: switch
|
||||
// switch
|
||||
#ifdef NON_MATCHING
|
||||
void Handle::updateResourceMgrFlag_() {
|
||||
sead::FixedSafeString<128> path("***");
|
||||
if (mUnit)
|
||||
@@ -322,6 +323,7 @@ void Handle::updateResourceMgrFlag_() {
|
||||
(heap->getName().startsWith("Sound") || heap->getName().startsWith("Audio")) ? 0 : 1;
|
||||
res::ResourceMgrTask::instance()->setFlag2000Or5000(type);
|
||||
}
|
||||
#endif
|
||||
|
||||
void Handle::updateStatusAndUnload_() {
|
||||
auto* unit = mUnit;
|
||||
|
||||
Reference in New Issue
Block a user