summaryrefslogtreecommitdiff
path: root/src/boot_O2_g3
diff options
context:
space:
mode:
authorrozlette <uberpanzermensch@gmail.com>2020-01-12 16:52:32 -0600
committerrozlette <uberpanzermensch@gmail.com>2020-01-12 16:52:32 -0600
commit36f623023df488c17fda71940ddd3b6bc5a18a06 (patch)
treeb6e1b8ca986279d08d3b52812627c878e9a7a2cd /src/boot_O2_g3
parent0d4cadc3d17345398195240011982be3bdf83aee (diff)
Port over fault.c from oot decomp
Diffstat (limited to 'src/boot_O2_g3')
-rw-r--r--src/boot_O2_g3/CIC6105.c8
-rw-r--r--src/boot_O2_g3/boot_0x80080060.c2
2 files changed, 5 insertions, 5 deletions
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);
}