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:
parent
6eb3bf401c
commit
324db1d578
297 changed files with 2642 additions and 2679 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue