Rename `func_80089A10` to `nuGfxTaskAllEndWait`

This commit is contained in:
gijs 2023-10-20 17:06:25 +02:00
parent 7987a3fc72
commit d781c0572c
5 changed files with 4 additions and 5 deletions

View File

@ -183,8 +183,6 @@ extern void nuPiInit();
extern void __set_black(); extern void __set_black();
extern void __calls_osViBlack(bool black); extern void __calls_osViBlack(bool black);
extern void func_80089A10();
extern void __osViSwapBuffer_3(void** buffers); extern void __osViSwapBuffer_3(void** buffers);
extern s32 func_80089CF8(s16 arg0, s32 arg1); extern s32 func_80089CF8(s16 arg0, s32 arg1);

View File

@ -42,6 +42,7 @@ nuGfxTaskMgrInit = 0x80089660;
gfxThread = 0x8008AFE0; gfxThread = 0x8008AFE0;
nuGfxSwapCfbFuncSet = 0x800899D0; nuGfxSwapCfbFuncSet = 0x800899D0;
nuGfxTaskStart = 0x80089804; // rom:0x19C04 nuGfxTaskStart = 0x80089804; // rom:0x19C04
nuGfxTaskAllEndWait = 0x80089A10;
obCurrentTime = 0x800C47D0; obCurrentTime = 0x800C47D0;

View File

@ -185,7 +185,7 @@ INCLUDE_ASM(const s32, "_ob_past_brick", func_80089990);
// void func_80089990(void (*arg0)(s32)) { // void func_80089990(void (*arg0)(s32)) {
// s32 mask; // s32 mask;
// func_80089A10(); // nuGfxTaskAllEndWait();
// mask = osSetIntMask(OS_IM_NONE); // mask = osSetIntMask(OS_IM_NONE);
// nuGfxFunc = arg0; // nuGfxFunc = arg0;
// osSetIntMask(mask); // osSetIntMask(mask);

View File

@ -21,6 +21,6 @@ void nuGfxInitEX2(void) {
gSPEndDisplayList(ptr++); gSPEndDisplayList(ptr++);
nuGfxTaskStart(list, sizeof(Gfx) * 3, 0, 0); nuGfxTaskStart(list, sizeof(Gfx) * 3, 0, 0);
func_80089A10(); nuGfxTaskAllEndWait();
} }

View File

@ -378,7 +378,7 @@ u8 func_8007338C(void) {
} }
void func_80073398(void) { void func_80073398(void) {
func_80089A10(); nuGfxTaskAllEndWait();
func_8007328C(); func_8007328C();
D_800A8213 = 0; D_800A8213 = 0;
D_800A8212 = 0; D_800A8212 = 0;