summaryrefslogtreecommitdiff
path: root/src/boot_O2/stackcheck.c
diff options
context:
space:
mode:
authorrozlette <uberpanzermensch@gmail.com>2020-03-15 01:13:53 -0500
committerrozlette <uberpanzermensch@gmail.com>2020-03-15 01:13:53 -0500
commitff958ad932b29c830afa8d2bfd6dd6a0616c93a8 (patch)
tree916cf38da1595716bcb37651b75f7ff22a93399a /src/boot_O2/stackcheck.c
parent0c35be2381ba8b46b0a1a2d9b625cf02d04cdb68 (diff)
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.
Diffstat (limited to 'src/boot_O2/stackcheck.c')
-rw-r--r--src/boot_O2/stackcheck.c6
1 files changed, 3 insertions, 3 deletions
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;