1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-07-06 16:04:35 +00: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:
Dragorn421 2024-08-24 14:18:48 +02:00 committed by GitHub
parent b40e51d8c8
commit ea40688e4a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 29 additions and 14 deletions

View file

@ -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;
}

View file

@ -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
}

View file

@ -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;
}