1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-08-30 02:42:04 +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

@ -11,7 +11,7 @@ void EffectSpark_Init(void* thisx, void* initParamsx) {
if ((this != NULL) && (initParams != NULL)) {
if ((initParams->uDiv == 0) || (initParams->vDiv == 0)) {
osSyncPrintf("spark():u_div,v_div 0では困る。\n"); // "u_div,v_div 0 is not good."
PRINTF("spark():u_div,v_div 0では困る。\n"); // "u_div,v_div 0 is not good."
return;
}
@ -56,7 +56,7 @@ void EffectSpark_Init(void* thisx, void* initParamsx) {
this->numElements = (this->uDiv * this->vDiv) + 2;
if (this->numElements > ARRAY_COUNT(this->elements)) {
osSyncPrintf("table_sizeオーバー\n"); // "over table_size"
PRINTF("table_sizeオーバー\n"); // "over table_size"
return;
}
@ -103,7 +103,7 @@ s32 EffectSpark_Update(void* thisx) {
s32 i;
if (this == NULL) {
osSyncPrintf("EffectSparkInfo_proc():Spark Pointer is NULL\n");
PRINTF("EffectSparkInfo_proc():Spark Pointer is NULL\n");
}
for (i = 0; i < this->numElements; i++) {
@ -174,7 +174,7 @@ void EffectSpark_Draw(void* thisx, GraphicsContext* gfxCtx) {
vertices = GRAPH_ALLOC(gfxCtx, this->numElements * sizeof(Vtx[4]));
if (vertices == NULL) {
// "Memory Allocation Failure graph_malloc"
osSyncPrintf("EffectSparkInfo_disp():メモリー確保失敗 graph_malloc\n");
PRINTF("EffectSparkInfo_disp():メモリー確保失敗 graph_malloc\n");
goto end;
}