diff options
| author | AlexApps99 <alex.apps99@gmail.com> | 2021-07-26 21:58:51 +1200 |
|---|---|---|
| committer | AlexApps99 <alex.apps99@gmail.com> | 2021-07-26 23:05:19 +1200 |
| commit | 42807160cfb33af9f3cf2fa6b0ba98f232208cdb (patch) | |
| tree | 95b1b16a3f4cf7d0ab51e90b3d73e53f74ba7f2b /src/KingSystem/Resource/resHandle.cpp | |
| parent | 88bcc9eec1481b47361dc717c83e4953e8929a2b (diff) | |
Add #ifdef declarations for NON_MATCHING code
Diffstat (limited to 'src/KingSystem/Resource/resHandle.cpp')
| -rw-r--r-- | src/KingSystem/Resource/resHandle.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/KingSystem/Resource/resHandle.cpp b/src/KingSystem/Resource/resHandle.cpp index e47cb65e..1d101119 100644 --- a/src/KingSystem/Resource/resHandle.cpp +++ b/src/KingSystem/Resource/resHandle.cpp @@ -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; |
