Rename `D_800E7A18` to `nuIdleFunc`
This commit is contained in:
parent
d570045631
commit
eeddbc0da8
|
|
@ -357,7 +357,7 @@ extern void __some_logging(const char* format, ...);
|
||||||
|
|
||||||
extern void nuBoot(void);
|
extern void nuBoot(void);
|
||||||
extern void nuScCreateScheduler(u8 videoMode, u8 numFields);
|
extern void nuScCreateScheduler(u8 videoMode, u8 numFields);
|
||||||
extern void (*D_800E7A18)();
|
extern void (*nuIdleFunc)();
|
||||||
|
|
||||||
extern void obIdle(void*);
|
extern void obIdle(void*);
|
||||||
extern void obMain(void*);
|
extern void obMain(void*);
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,10 @@
|
||||||
|
nusched = 0x800E917C; // size:0x67A
|
||||||
|
|
||||||
|
nuBoot = 0x8007F880;
|
||||||
|
nuScCreateScheduler = 0x80088C50; // rom:0x19050
|
||||||
|
nuPiInit = 0x80089F40;
|
||||||
|
nuIdleFunc = 0x800E7A18;
|
||||||
|
|
||||||
obCurrentTime = 0x800C47D0;
|
obCurrentTime = 0x800C47D0;
|
||||||
obSetCurrentTime = 0x8009C7C0; // rom:0x2CBC0
|
obSetCurrentTime = 0x8009C7C0; // rom:0x2CBC0
|
||||||
obGetCurrentTime = 0x8009C7CC; // rom:0x2CBCC
|
obGetCurrentTime = 0x8009C7CC; // rom:0x2CBCC
|
||||||
|
|
@ -685,10 +692,6 @@ __MAIN_START_BUT_STATE = 0x800E8214;
|
||||||
|
|
||||||
__thread_80089358 = 0x80089358;
|
__thread_80089358 = 0x80089358;
|
||||||
|
|
||||||
nusched = 0x800E917C; // size:0x67A
|
|
||||||
nuBoot = 0x8007F880;
|
|
||||||
nuScCreateScheduler = 0x80088C50; // rom:0x19050
|
|
||||||
nuPiInit = 0x80089F40;
|
|
||||||
|
|
||||||
__CONTROLLER_0_BUTTON = 0x800E8700;
|
__CONTROLLER_0_BUTTON = 0x800E8700;
|
||||||
__menu_handle_input = 0x8019B8AC; // type:func
|
__menu_handle_input = 0x8019B8AC; // type:func
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ void nuBoot(void) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void obIdle(void* arg) {
|
void obIdle(void* arg) {
|
||||||
D_800E7A18 = NULL;
|
nuIdleFunc = NULL;
|
||||||
|
|
||||||
nuPiInit();
|
nuPiInit();
|
||||||
nuScCreateScheduler(OS_VI_NTSC_LAN1, 1);
|
nuScCreateScheduler(OS_VI_NTSC_LAN1, 1);
|
||||||
|
|
@ -22,8 +22,7 @@ void obIdle(void* arg) {
|
||||||
osSetThreadPri(&obThreadIdle, OS_PRIORITY_IDLE);
|
osSetThreadPri(&obThreadIdle, OS_PRIORITY_IDLE);
|
||||||
|
|
||||||
while(1) {
|
while(1) {
|
||||||
if (D_800E7A18 != NULL) {
|
if (nuIdleFunc != NULL)
|
||||||
D_800E7A18();
|
nuIdleFunc();
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue