From c74e255929fb9d46be146ee66d37ddb7585b9c9d Mon Sep 17 00:00:00 2001 From: playerskel Date: Thu, 6 Jan 2022 11:30:52 +0100 Subject: [PATCH] rename 800636C0 to gameinfo_init --- include/functions.h | 2 +- src/code/main.c | 2 +- src/code/z_debug.c | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/include/functions.h b/include/functions.h index 18e75bd7c7..d9dba11a13 100644 --- a/include/functions.h +++ b/include/functions.h @@ -807,7 +807,7 @@ s32 CollisionCheck_CylSideVsLineSeg(f32 radius, f32 height, f32 offset, Vec3f* a u8 CollisionCheck_GetSwordDamage(s32 dmgFlags); void SaveContext_Init(void); s32 func_800635D0(s32); -void func_800636C0(void); +void GameInfo_Init(void); void func_8006375C(s32 arg0, s32 arg1, const char* text); void func_8006376C(u8 x, u8 y, u8 colorId, const char* text); // ? func_80063828(?); diff --git a/src/code/main.c b/src/code/main.c index fce3972d14..ea6462b350 100644 --- a/src/code/main.c +++ b/src/code/main.c @@ -65,7 +65,7 @@ void Main(void* arg) { } osSyncPrintf("debug_InitArena(%08x, %08x)\n", debugHeap, debugHeapSize); DebugArena_Init(debugHeap, debugHeapSize); - func_800636C0(); + GameInfo_Init(); R_ENABLE_ARENA_DBG = 0; diff --git a/src/code/z_debug.c b/src/code/z_debug.c index 8b2a6fe93e..a9a3bac742 100644 --- a/src/code/z_debug.c +++ b/src/code/z_debug.c @@ -33,8 +33,7 @@ InputCombo inputCombos[REG_GROUPS] = { char regChar[] = " SOPQMYDUIZCNKXcsiWAVHGmnBdkb"; -// initialize GameInfo -void func_800636C0(void) { +void GameInfo_Init(void) { s32 i; gGameInfo = (GameInfo*)SystemArena_MallocDebug(sizeof(GameInfo), "../z_debug.c", 260);