From 30daa16255114a3d37c2197288a7194b360625d8 Mon Sep 17 00:00:00 2001 From: rozlette Date: Sun, 12 Jan 2020 20:18:31 -0600 Subject: Port stackcheck.c from oot decomp --- src/boot_O2_g3/boot_0x80080060.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/boot_O2_g3') diff --git a/src/boot_O2_g3/boot_0x80080060.c b/src/boot_O2_g3/boot_0x80080060.c index 5fa6daa6d..d73ada89f 100644 --- a/src/boot_O2_g3/boot_0x80080060.c +++ b/src/boot_O2_g3/boot_0x80080060.c @@ -1,14 +1,14 @@ #include #include -UNK_RET start(void) { - thread_info_init(&bootThreadInfo, bootStack, &bootStack[1024], 0, -1, bootThreadName); +void start(void) { + StackCheck_Init(&bootStackEntry, (u32)bootStack, (u32)&bootStack[1024], 0, -1, bootThreadName); osMemSize = func_8008D350(); func_800818F4(); osInitialize(); osUnmapTLBAll(); D_80096B40 = func_80092920(); - thread_info_init(&idleTreadInfo, idleStack, &idleStack[1024], 0, 256, idleThreadName); - osCreateThread(&idleOSThread, 1, (osCreateThread_func)Idle_ThreadEntry, 0, &idleTreadInfo, 12); + StackCheck_Init(&idleStackEntry, (u32)idleStack, (u32)&idleStack[1024], 0, 256, idleThreadName); + osCreateThread(&idleOSThread, 1, (osCreateThread_func)Idle_ThreadEntry, 0, &idleStack[1024], 12); osStartThread(&idleOSThread); } -- cgit v1.2.3