summaryrefslogtreecommitdiff
path: root/soh/src/code/z_debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'soh/src/code/z_debug.c')
-rw-r--r--soh/src/code/z_debug.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/soh/src/code/z_debug.c b/soh/src/code/z_debug.c
index c88dd0288..c2129ee5f 100644
--- a/soh/src/code/z_debug.c
+++ b/soh/src/code/z_debug.c
@@ -37,7 +37,7 @@ char regChar[] = " SOPQMYDUIZCNKXcsiWAVHGmnBdkb";
void func_800636C0(void) {
s32 i;
- gGameInfo = (GameInfo*)SystemArena_MallocDebug(sizeof(GameInfo), "../z_debug.c", 260);
+ gGameInfo = (GameInfo*)SYSTEM_ARENA_MALLOC_DEBUG(sizeof(GameInfo));
gGameInfo->regPage = 0;
gGameInfo->regGroup = 0;
gGameInfo->regCur = 0;
@@ -222,7 +222,7 @@ void func_80063D7C(GraphicsContext* gfxCtx) {
if (!CVar_GetS32("gDebugEnabled", 0))
return;
- OPEN_DISPS(gfxCtx, "../z_debug.c", 628);
+ OPEN_DISPS(gfxCtx);
GfxPrint_Init(&printer);
sp78 = POLY_OPA_DISP;
@@ -244,9 +244,7 @@ void func_80063D7C(GraphicsContext* gfxCtx) {
Graph_BranchDlist(sp78, sp7C);
POLY_OPA_DISP = sp7C;
- if (1) {}
-
- CLOSE_DISPS(gfxCtx, "../z_debug.c", 664);
+ CLOSE_DISPS(gfxCtx);
GfxPrint_Destroy(&printer);
}