summaryrefslogtreecommitdiff
path: root/src/code/z_malloc.c
diff options
context:
space:
mode:
authorcadmic <cadmic24@gmail.com>2024-01-12 07:38:13 -0800
committerGitHub <noreply@github.com>2024-01-12 10:38:13 -0500
commit324db1d57830dcb2a45720445ac5d7904a6f5c6a (patch)
tree082de71ba2d4b8457be64e79bd2c37de99bd0ae2 /src/code/z_malloc.c
parent6eb3bf401cf768a81788e2aa90cb2cafbcd8d763 (diff)
Replace most osSyncPrintf calls with PRINTF macro (#1598)
* Replace most osSyncPrintf calls with PRINTF macro * DEBUG -> OOT_DEBUG
Diffstat (limited to 'src/code/z_malloc.c')
-rw-r--r--src/code/z_malloc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/code/z_malloc.c b/src/code/z_malloc.c
index 35942de28..4dcf7831e 100644
--- a/src/code/z_malloc.c
+++ b/src/code/z_malloc.c
@@ -11,12 +11,12 @@ void ZeldaArena_CheckPointer(void* ptr, u32 size, const char* name, const char*
if (ptr == NULL) {
if (gZeldaArenaLogSeverity >= LOG_SEVERITY_ERROR) {
// "%s: %u bytes %s failed\n"
- osSyncPrintf("%s: %u バイトの%sに失敗しました\n", name, size, action);
+ PRINTF("%s: %u バイトの%sに失敗しました\n", name, size, action);
__osDisplayArena(&sZeldaArena);
}
} else if (gZeldaArenaLogSeverity >= LOG_SEVERITY_VERBOSE) {
// "%s: %u bytes %s succeeded\n"
- osSyncPrintf("%s: %u バイトの%sに成功しました\n", name, size, action);
+ PRINTF("%s: %u バイトの%sに成功しました\n", name, size, action);
}
}
@@ -82,7 +82,7 @@ void* ZeldaArena_Calloc(u32 num, u32 size) {
}
void ZeldaArena_Display(void) {
- osSyncPrintf("ゼルダヒープ表示\n"); // "Zelda heap display"
+ PRINTF("ゼルダヒープ表示\n"); // "Zelda heap display"
__osDisplayArena(&sZeldaArena);
}