Disable BEL char by default when terminal attached (#2306)

This commit is contained in:
Amaro Martínez
2023-01-17 15:18:13 -05:00
committed by GitHub
parent 1e7cf8858f
commit 170b9c1224
6 changed files with 17 additions and 10 deletions

View File

@@ -491,7 +491,7 @@ void GameState_Realloc(GameState* gameState, size_t size) {
osSyncPrintf("ハイラル一時解放!!\n"); // "Hyrule temporarily released!!"
SystemArena_GetSizes(&systemMaxFree, &systemFree, &systemAlloc);
if ((systemMaxFree - 0x10) < size) {
osSyncPrintf("%c", 7);
osSyncPrintf("%c", BEL);
osSyncPrintf(VT_FGCOL(RED));
// "Not enough memory. Change the hyral size to the largest possible value"