Rename `D_800AA090` to `nuGfxFunc`

This commit is contained in:
gijs 2023-10-20 16:38:50 +02:00
parent 7df2c30851
commit e0f5679536
4 changed files with 4 additions and 4 deletions

View File

@ -167,7 +167,6 @@ extern OSContPad __GLOBAL_CONTROLLER_DATA_COPY[MAXCONTROLLERS];
extern u8 D_800AA040; extern u8 D_800AA040;
extern void (*SWAP_BUFFER_FUNC_800A9E8C)(void** buffers); extern void (*SWAP_BUFFER_FUNC_800A9E8C)(void** buffers);
extern void (*D_800AA090)(s32);
extern void (*D_800AA094)(); extern void (*D_800AA094)();
extern s32 D_800E79A4; extern s32 D_800E79A4;
extern u8 SP_THREAD_800BE1C0[1]; extern u8 SP_THREAD_800BE1C0[1];

View File

@ -8,6 +8,7 @@ nuGfxCfbCounter = 0x800C4BC4;
nuGfxCfb_ptr = 0x800E8210; nuGfxCfb_ptr = 0x800E8210;
nuGfxMesgQ = 0x800C4C28; nuGfxMesgQ = 0x800C4C28;
nuGfxMesgBuf = 0x800BE1A0; nuGfxMesgBuf = 0x800BE1A0;
nuGfxFunc = 0x800AA090;
nuBoot = 0x8007F880; nuBoot = 0x8007F880;
nuScCreateScheduler = 0x80088C50; // rom:0x19050 nuScCreateScheduler = 0x80088C50; // rom:0x19050

View File

@ -17,8 +17,8 @@ void gfxThread(void* arg0) {
switch(temp_v0) { switch(temp_v0) {
case NU_SC_RETRACE_MSG: case NU_SC_RETRACE_MSG:
if (D_800AA090 != NULL) { if (nuGfxFunc != NULL) {
D_800AA090(D_800E79A4); nuGfxFunc(D_800E79A4);
} }
break; break;

View File

@ -187,7 +187,7 @@ INCLUDE_ASM(const s32, "_ob_past_brick", func_80089990);
// func_80089A10(); // func_80089A10();
// mask = osSetIntMask(OS_IM_NONE); // mask = osSetIntMask(OS_IM_NONE);
// D_800AA090 = arg0; // nuGfxFunc = arg0;
// osSetIntMask(mask); // osSetIntMask(mask);
// } // }