From fd14ddcbf1577bcaeac1e51b5e452819c243df73 Mon Sep 17 00:00:00 2001 From: Dragorn421 Date: Tue, 27 Aug 2024 14:32:33 +0200 Subject: T() macro 5 (#2089) * T() in __osMalloc.c * T() in code_80097A00.c * T() in debug_malloc.c * T() in code/load.c * T() in sys_math3d.c * T() in z_collision_btltbls.c, z_fbdemo_fade.c, z_fcurve_data_skelanime.c, z_view.c * T() in z_collision_check.c * remaining T() in __osMalloc.c * __osMalloc consistency * format --- src/code/debug_malloc.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/code/debug_malloc.c') diff --git a/src/code/debug_malloc.c b/src/code/debug_malloc.c index 3ca092bd3..ccccbb154 100644 --- a/src/code/debug_malloc.c +++ b/src/code/debug_malloc.c @@ -12,14 +12,12 @@ s32 gDebugArenaLogSeverity = LOG_SEVERITY_ERROR; void DebugArena_CheckPointer(void* ptr, u32 size, const char* name, const char* action) { if (ptr == NULL) { if (gDebugArenaLogSeverity >= LOG_SEVERITY_ERROR) { - // "%s: %u bytes %s failed\n" - PRINTF("%s: %u バイトの%sに失敗しました\n", name, size, action); + PRINTF(T("%s: %u バイトの%sに失敗しました\n", "%s: %u bytes %s failed\n"), name, size, action); __osDisplayArena(&sDebugArena); return; } } else if (gDebugArenaLogSeverity >= LOG_SEVERITY_VERBOSE) { - // "%s: %u bytes %s succeeded\n" - PRINTF("%s: %u バイトの%sに成功しました\n", name, size, action); + PRINTF(T("%s: %u バイトの%sに成功しました\n", "%s: %u bytes %s succeeded\n"), name, size, action); } } -- cgit v1.2.3