Rename `__controller_thread_80089D9C` to `nuSiMgrThread`
This commit is contained in:
parent
12496030a6
commit
6eb644c5cf
|
|
@ -173,7 +173,6 @@ extern void __calls_osViBlack(bool black);
|
|||
extern void __osViSwapBuffer_3(void** buffers);
|
||||
|
||||
extern s32 func_80089CF8(s16 arg0, s32 arg1);
|
||||
extern void __controller_thread_80089D9C(void*);
|
||||
|
||||
extern void __start_copy_global_controller_data(void);
|
||||
extern void __end_copy_global_controller_data(void);
|
||||
|
|
|
|||
|
|
@ -57,6 +57,7 @@ nuGfxFuncSet = 0x80089990;
|
|||
nuGfxDisplayOff = 0x80089BC0;
|
||||
nuGfxDisplayOn = 0x80089C50;
|
||||
nuSiMgrInit = 0x80089C60;
|
||||
nuSiMgrThread = 0x80089D9C;
|
||||
|
||||
|
||||
obCurrentTime = 0x800C47D0;
|
||||
|
|
@ -995,7 +996,6 @@ __ERROR_BAD_TABLE = 0x800AE338;
|
|||
__VIRTUAL_MEMORY_EXHAUSTED = 0x800AE35C;
|
||||
__virtual_mem_alloc = 0x80070F30;
|
||||
|
||||
__controller_thread_80089D9C = 0x80089D9C;
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
#include "nu/nusys.h"
|
||||
|
||||
void nuSiMgrThread(void* arg);
|
||||
|
||||
/* 1A060 80089C60 */
|
||||
u8 nuSiMgrInit(void) {
|
||||
u8 pattern;
|
||||
|
|
@ -12,7 +14,7 @@ u8 nuSiMgrInit(void) {
|
|||
|
||||
osContInit(&nuSiMesgQ, &pattern, status);
|
||||
|
||||
osCreateThread(&siMgrThread, 5, __controller_thread_80089D9C, NULL, &MQ_800BE030, 0x73);
|
||||
osCreateThread(&siMgrThread, 5, nuSiMgrThread, NULL, &MQ_800BE030, NU_SI_THREAD_PRI);
|
||||
osStartThread(&siMgrThread);
|
||||
|
||||
return pattern;
|
||||
|
|
@ -50,7 +52,7 @@ void __start_controller_thread(void) {
|
|||
osStartThread(&siMgrThread);
|
||||
}
|
||||
|
||||
INCLUDE_ASM(const s32, "_ob_icy_coast", __controller_thread_80089D9C);
|
||||
INCLUDE_ASM(const s32, "_ob_icy_coast", nuSiMgrThread);
|
||||
|
||||
void nuPiInit(void) {
|
||||
osCreatePiManager(OS_PRIORITY_PIMGR, &MQ_800BE030, OSMESG_800BE048, sizeof(OSMESG_800BE048) / sizeof(OSMesg));
|
||||
|
|
|
|||
Loading…
Reference in New Issue