From 324db1d57830dcb2a45720445ac5d7904a6f5c6a Mon Sep 17 00:00:00 2001 From: cadmic Date: Fri, 12 Jan 2024 07:38:13 -0800 Subject: Replace most osSyncPrintf calls with PRINTF macro (#1598) * Replace most osSyncPrintf calls with PRINTF macro * DEBUG -> OOT_DEBUG --- src/code/debug_malloc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/code/debug_malloc.c') diff --git a/src/code/debug_malloc.c b/src/code/debug_malloc.c index 670ce857a..b833b6dfd 100644 --- a/src/code/debug_malloc.c +++ b/src/code/debug_malloc.c @@ -11,13 +11,13 @@ void DebugArena_CheckPointer(void* ptr, u32 size, const char* name, const char* if (ptr == NULL) { if (gDebugArenaLogSeverity >= 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(&sDebugArena); return; } } else if (gDebugArenaLogSeverity >= 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); } } @@ -84,7 +84,7 @@ void* DebugArena_Calloc(u32 num, u32 size) { void DebugArena_Display(void) { // "Zelda heap display" ("Zelda" should probably have been changed to "Debug") - osSyncPrintf("ゼルダヒープ表示\n"); + PRINTF("ゼルダヒープ表示\n"); __osDisplayArena(&sDebugArena); } -- cgit v1.2.3