diff options
| author | Derek Hensley <hensley.derek58@gmail.com> | 2024-01-31 16:07:12 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-31 19:07:12 -0500 |
| commit | 06379c310941c031451c87c09d32cc7a8860e7fe (patch) | |
| tree | 99abb62045709a4e095606299425ae241593b0e2 /src/code/gamealloc.c | |
| parent | a0d31dba680fdddb354dc8aae6ae0efe1663ef3f (diff) | |
Gamealloc, Graph, and Graphalloc retail OK (#1675)
* Gamealloc OK
* Graph + Graphalloc OK
* PR review
* gfxalloc
* new lines
* Remove imposter
Diffstat (limited to 'src/code/gamealloc.c')
| -rw-r--r-- | src/code/gamealloc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/code/gamealloc.c b/src/code/gamealloc.c index ee981d2be..c5e8e5243 100644 --- a/src/code/gamealloc.c +++ b/src/code/gamealloc.c @@ -12,6 +12,7 @@ void GameAlloc_Log(GameAlloc* this) { } } +#if OOT_DEBUG void* GameAlloc_MallocDebug(GameAlloc* this, u32 size, const char* file, s32 line) { GameAllocEntry* ptr = SystemArena_MallocDebug(size + sizeof(GameAllocEntry), file, line); @@ -27,6 +28,7 @@ void* GameAlloc_MallocDebug(GameAlloc* this, u32 size, const char* file, s32 lin return NULL; } } +#endif void* GameAlloc_Malloc(GameAlloc* this, u32 size) { GameAllocEntry* ptr = SYSTEM_ARENA_MALLOC(size + sizeof(GameAllocEntry), "../gamealloc.c", 93); |
