1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-08-11 17:30:25 +00:00

Replace most osSyncPrintf calls with PRINTF macro (#1598)

* Replace most osSyncPrintf calls with PRINTF macro

* DEBUG -> OOT_DEBUG
This commit is contained in:
cadmic 2024-01-12 07:38:13 -08:00 committed by GitHub
parent 6eb3bf401c
commit 324db1d578
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
297 changed files with 2642 additions and 2679 deletions

View file

@ -82,7 +82,7 @@ u32 EffectSsDeadDd_Init(PlayState* play, u32 index, EffectSs* this, void* initPa
this->accel.z = this->velocity.z = (Rand_ZeroOne() - 0.5f) * 2.0f;
}
} else {
osSyncPrintf("Effect_SS_Dd_disp_mode():mode_swが変です。\n");
PRINTF("Effect_SS_Dd_disp_mode():mode_swが変です。\n");
return 0;
}

View file

@ -29,7 +29,7 @@ u32 EffectSsDeadSound_Init(PlayState* play, u32 index, EffectSs* this, void* ini
this->update = EffectSsDeadSound_Update;
this->rRepeatMode = initParams->repeatMode;
this->rSfxId = initParams->sfxId;
osSyncPrintf("コンストラクター3\n"); // "constructor 3"
PRINTF("コンストラクター3\n"); // "constructor 3"
return 1;
}

View file

@ -78,7 +78,7 @@ u32 EffectSsEnIce_Init(PlayState* play, u32 index, EffectSs* this, void* initPar
this->rEnvColorB = initParams->envColor.b;
this->rAlphaMode = 0;
} else {
osSyncPrintf("Effect_Ss_En_Ice_ct():pid->mode_swがエラーです。\n");
PRINTF("Effect_Ss_En_Ice_ct():pid->mode_swがエラーです。\n");
return 0;
}

View file

@ -56,7 +56,7 @@ u32 EffectSsFhgFlash_Init(PlayState* play, u32 index, EffectSs* this, void* init
this->gfx = SEGMENTED_TO_VIRTUAL(gPhantomEnergyBallDL);
gSegments[6] = prevSeg6;
} else {
osSyncPrintf("Effect_Ss_Fhg_Flash_ct():pffd->modeエラー\n");
PRINTF("Effect_Ss_Fhg_Flash_ct():pffd->modeエラー\n");
return 0;
}
} else {

View file

@ -45,7 +45,7 @@ u32 EffectSsIceSmoke_Init(PlayState* play, u32 index, EffectSs* this, void* init
return 1;
}
osSyncPrintf("Effect_SS_Ice_Smoke_ct():バンク Object_Bank_Fzが有りません。\n");
PRINTF("Effect_SS_Ice_Smoke_ct():バンク Object_Bank_Fzが有りません。\n");
return 0;
}

View file

@ -53,7 +53,7 @@ u32 EffectSsKakera_Init(PlayState* play, u32 index, EffectSs* this, void* initPa
}
} else {
osSyncPrintf("shape_modelがNULL\n");
PRINTF("shape_modelがNULL\n");
LogUtils_HungupThread("../z_eff_kakera.c", 178);
}
@ -79,7 +79,7 @@ f32 func_809A9818(f32 arg0, f32 arg1) {
f32 temp_f2;
if (arg1 < 0.0f) {
osSyncPrintf("範囲がマイナス!!(randomD_sectionUniformity)\n");
PRINTF("範囲がマイナス!!(randomD_sectionUniformity)\n");
}
temp_f2 = Rand_ZeroOne() * arg1;