summaryrefslogtreecommitdiff
path: root/src/code/debug_malloc.c
diff options
context:
space:
mode:
authorDragorn421 <Dragorn421@users.noreply.github.com>2024-08-27 14:32:33 +0200
committerGitHub <noreply@github.com>2024-08-27 14:32:33 +0200
commitfd14ddcbf1577bcaeac1e51b5e452819c243df73 (patch)
treee2d7ef7ca631cbe37aa2b2585c474301ca4a0161 /src/code/debug_malloc.c
parentd2aca2239fb2a814ffe9bfad8f2a100445e11ce8 (diff)
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
Diffstat (limited to 'src/code/debug_malloc.c')
-rw-r--r--src/code/debug_malloc.c6
1 files changed, 2 insertions, 4 deletions
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);
}
}