summaryrefslogtreecommitdiff
path: root/src/code/system_malloc.c
diff options
context:
space:
mode:
authorDragorn421 <Dragorn421@users.noreply.github.com>2024-08-22 22:33:50 +0200
committerGitHub <noreply@github.com>2024-08-22 22:33:50 +0200
commit98ba7ad2ab05be017722c9dc46b0929e5c911f55 (patch)
tree3e44b249ed7aecc2817236d1c460303695ace4b4 /src/code/system_malloc.c
parentbdfa56e72d45c2f7e37d4b92afe17c584939f59b (diff)
Add T macro for translated debug strings (#2064)
* Add T macro for translated debug strings * Hyral -> Hyrule * put some more care into z_std_dma
Diffstat (limited to 'src/code/system_malloc.c')
-rw-r--r--src/code/system_malloc.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/code/system_malloc.c b/src/code/system_malloc.c
index efee95dbd..f389aa0b0 100644
--- a/src/code/system_malloc.c
+++ b/src/code/system_malloc.c
@@ -12,14 +12,12 @@ s32 gSystemArenaLogSeverity = LOG_SEVERITY_NOLOG;
void SystemArena_CheckPointer(void* ptr, u32 size, const char* name, const char* action) {
if (ptr == NULL) {
if (gSystemArenaLogSeverity >= 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(&gSystemArena);
return;
}
} else if (gSystemArenaLogSeverity >= 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);
}
}
@@ -99,7 +97,7 @@ void* SystemArena_Calloc(u32 num, u32 size) {
#if OOT_DEBUG
void SystemArena_Display(void) {
- PRINTF("システムヒープ表示\n"); // "System heap display"
+ PRINTF(T("システムヒープ表示\n", "System heap display\n"));
__osDisplayArena(&gSystemArena);
}
#endif