diff options
| author | Dragorn421 <Dragorn421@users.noreply.github.com> | 2024-08-22 22:33:50 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-22 22:33:50 +0200 |
| commit | 98ba7ad2ab05be017722c9dc46b0929e5c911f55 (patch) | |
| tree | 3e44b249ed7aecc2817236d1c460303695ace4b4 /src/code/sys_cfb.c | |
| parent | bdfa56e72d45c2f7e37d4b92afe17c584939f59b (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/sys_cfb.c')
| -rw-r--r-- | src/code/sys_cfb.c | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/src/code/sys_cfb.c b/src/code/sys_cfb.c index 041c72659..28019c3e7 100644 --- a/src/code/sys_cfb.c +++ b/src/code/sys_cfb.c @@ -8,19 +8,18 @@ void SysCfb_Init(s32 n64dd) { uintptr_t tmpFbEnd; if (osMemSize >= 0x800000) { - // "8MB or more memory is installed" - PRINTF("8Mバイト以上のメモリが搭載されています\n"); + PRINTF(T("8Mバイト以上のメモリが搭載されています\n", "8MB or more memory is installed\n")); tmpFbEnd = 0x8044BE80; if (n64dd == 1) { - PRINTF("RAM 8M mode (N64DD対応)\n"); // "RAM 8M mode (N64DD compatible)" + PRINTF(T("RAM 8M mode (N64DD対応)\n", "RAM 8M mode (N64DD compatible)\n")); #if OOT_DEBUG sSysCfbEnd = 0x805FB000; #else sSysCfbEnd = 0x80600000; #endif } else { - // "The margin for this version is %dK bytes" - PRINTF("このバージョンのマージンは %dK バイトです\n", (0x4BC00 / 1024)); + PRINTF(T("このバージョンのマージンは %dK バイトです\n", "The margin for this version is %dK bytes\n"), + (0x4BC00 / 1024)); #if OOT_DEBUG sSysCfbEnd = tmpFbEnd; #else @@ -39,12 +38,12 @@ void SysCfb_Init(s32 n64dd) { if (1) {} - // "The final address used by the system is %08x" - PRINTF("システムが使用する最終アドレスは %08x です\n", sSysCfbEnd); + PRINTF(T("システムが使用する最終アドレスは %08x です\n", "The final address used by the system is %08x\n"), + sSysCfbEnd); sSysCfbFbPtr[0] = sSysCfbEnd - (screenSize * 4); sSysCfbFbPtr[1] = sSysCfbEnd - (screenSize * 2); - // "Frame buffer addresses are %08x and %08x" - PRINTF("フレームバッファのアドレスは %08x と %08x です\n", sSysCfbFbPtr[0], sSysCfbFbPtr[1]); + PRINTF(T("フレームバッファのアドレスは %08x と %08x です\n", "Frame buffer addresses are %08x and %08x\n"), + sSysCfbFbPtr[0], sSysCfbFbPtr[1]); } void SysCfb_Reset(void) { |
