diff options
| author | cadmic <cadmic24@gmail.com> | 2025-01-08 07:33:49 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-08 10:33:49 -0500 |
| commit | f329507f97c30a040ff1ea020ed9ff6249360561 (patch) | |
| tree | dee8cec92b7e65d71b02db7f1e4a281dbd9848fd /src/code/game.c | |
| parent | a3c3c38fead604508fef7626fa8ae494d67df52c (diff) | |
[iQue] Create/update macros for printing debug strings (#2398)
Diffstat (limited to 'src/code/game.c')
| -rw-r--r-- | src/code/game.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/code/game.c b/src/code/game.c index ee29c8449..436783952 100644 --- a/src/code/game.c +++ b/src/code/game.c @@ -409,12 +409,12 @@ void GameState_Realloc(GameState* gameState, size_t size) { SystemArena_GetSizes(&systemMaxFree, &systemFree, &systemAlloc); if ((systemMaxFree - 0x10) < size) { PRINTF("%c", BEL); - PRINTF(VT_FGCOL(RED)); + PRINTF_COLOR_RED(); PRINTF(T("メモリが足りません。ハイラルサイズを可能な最大値に変更します\n", "Not enough memory. Change Hyrule size to maximum possible value\n")); PRINTF("(hyral=%08x max=%08x free=%08x alloc=%08x)\n", size, systemMaxFree, systemFree, systemAlloc); - PRINTF(VT_RST); + PRINTF_RST(); size = systemMaxFree - 0x10; } @@ -557,9 +557,9 @@ void* GameState_Alloc(GameState* gameState, size_t size, const char* file, int l } } if (ret != NULL) { - PRINTF(VT_FGCOL(GREEN)); + PRINTF_COLOR_GREEN(); PRINTF("game_alloc(%08x) %08x-%08x [%s:%d]\n", size, ret, (uintptr_t)ret + size, file, line); - PRINTF(VT_RST); + PRINTF_RST(); } return ret; } |
