summaryrefslogtreecommitdiff
path: root/src/code
diff options
context:
space:
mode:
authorcadmic <cadmic24@gmail.com>2024-02-01 20:17:17 -0800
committerGitHub <noreply@github.com>2024-02-01 23:17:17 -0500
commit3be307bf35e99624edc328206061ab4503a48251 (patch)
tree9c64416316992887f5e1f21588e5870f3ccaedf0 /src/code
parentc701a2181f1dae5b7f3a1827e154c7ff598255fa (diff)
Match stackcheck.c and code_800FC620.c (#1656)
* Match stackcheck.c * Match code_800FC620.c
Diffstat (limited to 'src/code')
-rw-r--r--src/code/code_800FC620.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/code/code_800FC620.c b/src/code/code_800FC620.c
index deca11a4f..462179b38 100644
--- a/src/code/code_800FC620.c
+++ b/src/code/code_800FC620.c
@@ -26,7 +26,11 @@ void* func_800FC800(u32 size) {
size = 1;
}
+#if OOT_DEBUG
return __osMallocDebug(&gSystemArena, size, sNew, 0);
+#else
+ return __osMalloc(&gSystemArena, size);
+#endif
}
// possibly some kind of delete() function