summaryrefslogtreecommitdiff
path: root/src/code/z_debug.c
diff options
context:
space:
mode:
authorAnghelo Carvajal <angheloalf95@gmail.com>2022-01-11 20:25:14 -0300
committerGitHub <noreply@github.com>2022-01-11 23:25:14 +0000
commitc44e26a14356be233402fc98a44681c37ae45761 (patch)
tree6254c3534bbaec9e8ae05055c6cbd431a712dd48 /src/code/z_debug.c
parent133e02a8a744ec7252b71ca5a0e310367dae037d (diff)
`__osMalloc.c` OK (#395)
* __osRealloc * match __osCheckArena * cleanup * Import bss, unreferenced strings and cleanup * format * Reviews * Move convert.h to ultra64/ * Make the os_malloc.h header * potato * renames and fixes * format * small doc pass } * format * minor changes * Introduce system_malloc.h * Docs pass * fix * format * stuff * Apply suggestions from code review Co-authored-by: EllipticEllipsis <73679967+EllipticEllipsis@users.noreply.github.com> * review * format * remove repeated sentence * Apply suggestions from code review Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com> * include headers * review * Rename __osMallocAddHeap * remove @brief * Update src/boot_O2/__osMalloc.c Co-authored-by: Derek Hensley <hensley.derek58@gmail.com> Co-authored-by: EllipticEllipsis <73679967+EllipticEllipsis@users.noreply.github.com> Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com> Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>
Diffstat (limited to 'src/code/z_debug.c')
-rw-r--r--src/code/z_debug.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/code/z_debug.c b/src/code/z_debug.c
index 924a2ad30..46649a4ce 100644
--- a/src/code/z_debug.c
+++ b/src/code/z_debug.c
@@ -1,11 +1,12 @@
#include "global.h"
+#include "system_malloc.h"
GameInfo* gGameInfo;
void GameInfo_Init(void) {
s32 i;
- gGameInfo = (GameInfo*)SystemArena_Malloc(sizeof(GameInfo));
+ gGameInfo = SystemArena_Malloc(sizeof(GameInfo));
if (1) {}
gGameInfo->unk_00 = 0;
gGameInfo->unk_01 = 0;