From 36f623023df488c17fda71940ddd3b6bc5a18a06 Mon Sep 17 00:00:00 2001 From: rozlette Date: Sun, 12 Jan 2020 16:52:32 -0600 Subject: Port over fault.c from oot decomp --- src/boot_O2_g3/CIC6105.c | 8 ++++---- src/boot_O2_g3/boot_0x80080060.c | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src/boot_O2_g3') diff --git a/src/boot_O2_g3/CIC6105.c b/src/boot_O2_g3/CIC6105.c index e52bc7542..47c6a3321 100644 --- a/src/boot_O2_g3/CIC6105.c +++ b/src/boot_O2_g3/CIC6105.c @@ -6,13 +6,13 @@ void CIC6105_Nop80081820(void) {} void CIC6105_Nop80081828(void) {} void CIC6105_PrintRomInfo(void) { - FaultDraw_DrawText(80, 200, D_80098280, (UNK_PTR)(*(u32*)0xA4040010)); - FaultDraw_DrawText(40, 184, D_80098290, &D_800994D0); - FaultDraw_DrawText(56, 192, D_800982A4, &D_800994DC); + FaultDrawer_DrawText(80, 200, D_80098280, (UNK_PTR)(*(u32*)0xA4040010)); + FaultDrawer_DrawText(40, 184, D_80098290, &D_800994D0); + FaultDrawer_DrawText(56, 192, D_800982A4, &D_800994DC); } void CIC6105_AddRomInfoFaultPage(void) { - Fault_AddClient(&romInfoFaultClient, (fault_client_func*)CIC6105_PrintRomInfo, 0, 0); + Fault_AddClient(&romInfoFaultClient, (fault_client_func)CIC6105_PrintRomInfo, 0, 0); } void CIC6105_RemoveRomInfoFaultPage(void) { diff --git a/src/boot_O2_g3/boot_0x80080060.c b/src/boot_O2_g3/boot_0x80080060.c index 40e37377f..5fa6daa6d 100644 --- a/src/boot_O2_g3/boot_0x80080060.c +++ b/src/boot_O2_g3/boot_0x80080060.c @@ -9,6 +9,6 @@ UNK_RET start(void) { 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); + osCreateThread(&idleOSThread, 1, (osCreateThread_func)Idle_ThreadEntry, 0, &idleTreadInfo, 12); osStartThread(&idleOSThread); } -- cgit v1.2.3