summaryrefslogtreecommitdiff
path: root/src/KingSystem/System/OverlayArenaSystem.cpp
diff options
context:
space:
mode:
authorAlexApps99 <alex.apps99@gmail.com>2021-07-26 21:58:51 +1200
committerAlexApps99 <alex.apps99@gmail.com>2021-07-26 23:05:19 +1200
commit42807160cfb33af9f3cf2fa6b0ba98f232208cdb (patch)
tree95b1b16a3f4cf7d0ab51e90b3d73e53f74ba7f2b /src/KingSystem/System/OverlayArenaSystem.cpp
parent88bcc9eec1481b47361dc717c83e4953e8929a2b (diff)
Add #ifdef declarations for NON_MATCHING code
Diffstat (limited to 'src/KingSystem/System/OverlayArenaSystem.cpp')
-rw-r--r--src/KingSystem/System/OverlayArenaSystem.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/KingSystem/System/OverlayArenaSystem.cpp b/src/KingSystem/System/OverlayArenaSystem.cpp
index 1731b491..2dede4a9 100644
--- a/src/KingSystem/System/OverlayArenaSystem.cpp
+++ b/src/KingSystem/System/OverlayArenaSystem.cpp
@@ -63,7 +63,8 @@ void OverlayArenaSystem::destroyHeaps() {
mFlags.set(Flag::_2);
}
-// NON_MATCHING: reordering for TaskThread::InitArg
+// reordering for TaskThread::InitArg
+#ifdef NON_MATCHING
bool OverlayArenaSystem::init(const InitArg& arg, sead::Heap* heap) {
mSystemPauseMgr = arg.system_pause_mgr;
@@ -125,6 +126,7 @@ bool OverlayArenaSystem::init(const InitArg& arg, sead::Heap* heap) {
return true;
}
+#endif
void OverlayArenaSystem::getSzsDecompressor(sead::SZSDecompressor** decompressor) const {
if (decompressor)