summaryrefslogtreecommitdiff
path: root/src/code/gamealloc.c
diff options
context:
space:
mode:
authorfig02 <fig02srl@gmail.com>2024-11-17 17:02:07 -0500
committerGitHub <noreply@github.com>2024-11-17 17:02:07 -0500
commit17edb82c0d22fb78135033f92a624bd6cde6f495 (patch)
tree1f5f077c12e3a693745fcbb0aa450b35cf8ff9b6 /src/code/gamealloc.c
parentcf4dc98cc934cdb62ed8b5001602468fac6dfeb3 (diff)
Decouple Debug Features From gc-eu-mq-dbg (#2296)
* rename OOT_DEBUG to DEBUG_FEATURES * makefile changes * add DEBUG_ASSETS * fix DEBUG_FEATURES usages * format * fix errors * review * fix problem and review2 * review * add DEBUG_FEATURES to DEBUG_ASSETS check * review * whoops * format
Diffstat (limited to 'src/code/gamealloc.c')
-rw-r--r--src/code/gamealloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/code/gamealloc.c b/src/code/gamealloc.c
index b80ece7b2..d625bc65f 100644
--- a/src/code/gamealloc.c
+++ b/src/code/gamealloc.c
@@ -12,7 +12,7 @@ void GameAlloc_Log(GameAlloc* this) {
}
}
-#if OOT_DEBUG
+#if DEBUG_FEATURES
void* GameAlloc_MallocDebug(GameAlloc* this, u32 size, const char* file, int line) {
GameAllocEntry* ptr = SystemArena_MallocDebug(size + sizeof(GameAllocEntry), file, line);