mirror of
https://github.com/zeldaret/oot
synced 2026-05-24 23:21:53 -04:00
[ntsc-1.2] Match z_kaleido_debug.c, z_lmap_mark.c (#2077)
* Match z_kaleido_debug.c, z_lmap_mark.c * consistent style for n64dd callbacks calls
This commit is contained in:
@@ -68,10 +68,8 @@ n64ddStruct_80121AF0* func_800ADB30(n64ddStruct_80121AF0* arg0) {
|
||||
}
|
||||
|
||||
void func_800ADB8C(void) {
|
||||
if (B_80121AF0 != NULL) {
|
||||
if (B_80121AF0->unk_04 != NULL) {
|
||||
B_80121AF0->unk_04();
|
||||
}
|
||||
if ((B_80121AF0 != NULL) && (B_80121AF0->unk_04 != NULL)) {
|
||||
B_80121AF0->unk_04();
|
||||
}
|
||||
B_80121AF0 = NULL;
|
||||
}
|
||||
|
||||
@@ -177,20 +177,16 @@ void KaleidoSetup_Init(PlayState* play) {
|
||||
View_Init(&pauseCtx->view, play->state.gfxCtx);
|
||||
|
||||
#if PLATFORM_N64
|
||||
if (B_80121AF0 != NULL) {
|
||||
if (B_80121AF0->unk_3C != NULL) {
|
||||
B_80121AF0->unk_3C();
|
||||
}
|
||||
if ((B_80121AF0 != NULL) && (B_80121AF0->unk_3C != NULL)) {
|
||||
B_80121AF0->unk_3C();
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
void KaleidoSetup_Destroy(PlayState* play) {
|
||||
#if PLATFORM_N64
|
||||
if (B_80121AF0 != NULL) {
|
||||
if (B_80121AF0->unk_40 != NULL) {
|
||||
B_80121AF0->unk_40();
|
||||
}
|
||||
if ((B_80121AF0 != NULL) && (B_80121AF0->unk_40 != NULL)) {
|
||||
B_80121AF0->unk_40();
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -196,7 +196,7 @@ SceneDrawConfigFunc sSceneDrawConfigs[SDC_MAX] = {
|
||||
};
|
||||
|
||||
void Scene_Draw(PlayState* play) {
|
||||
if (B_80121AF0 != NULL && B_80121AF0->unk_6C != NULL) {
|
||||
if ((B_80121AF0 != NULL) && (B_80121AF0->unk_6C != NULL)) {
|
||||
B_80121AF0->unk_6C(play, sSceneDrawConfigs);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user