From ff958ad932b29c830afa8d2bfd6dd6a0616c93a8 Mon Sep 17 00:00:00 2001 From: rozlette Date: Sun, 15 Mar 2020 01:13:53 -0500 Subject: Rename many functions, structs, and variables to match the oot decomp. Some things have not been renamed as their respective files have not been decompiled yet. --- src/boot_O2/stackcheck.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/boot_O2/stackcheck.c') diff --git a/src/boot_O2/stackcheck.c b/src/boot_O2/stackcheck.c index a938db3f4..50affc8bb 100644 --- a/src/boot_O2/stackcheck.c +++ b/src/boot_O2/stackcheck.c @@ -4,15 +4,15 @@ StackEntry* sStackInfoListStart = NULL; StackEntry* sStackInfoListEnd = NULL; -void StackCheck_Init(StackEntry* entry, u32 stackTop, u32 stackBottom, u32 initValue, s32 minSpace, char* name) { +void StackCheck_Init(StackEntry* entry, void* stackTop, void* stackBottom, u32 initValue, s32 minSpace, const char* name) { StackEntry* iter; u32* addr; if (!entry) { sStackInfoListStart = NULL; } else { - entry->head = stackTop; - entry->tail = stackBottom; + entry->head = (u32)stackTop; + entry->tail = (u32)stackBottom; entry->initValue = initValue; entry->minSpace = minSpace; entry->name = name; -- cgit v1.2.3