summaryrefslogtreecommitdiff
path: root/src/code/z_debug.c
diff options
context:
space:
mode:
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;