Browse Source
Merge pull request #7890 from Morph1984/utf8-console
debugger: console: Set console output codepage to UTF-8
pull/15/merge
Mai M
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
0 deletions
-
src/yuzu/debugger/console.cpp
|
|
|
@ -30,6 +30,7 @@ void ToggleConsole() { |
|
|
|
freopen_s(&temp, "CONIN$", "r", stdin); |
|
|
|
freopen_s(&temp, "CONOUT$", "w", stdout); |
|
|
|
freopen_s(&temp, "CONOUT$", "w", stderr); |
|
|
|
SetConsoleOutputCP(65001); |
|
|
|
SetColorConsoleBackendEnabled(true); |
|
|
|
} |
|
|
|
} else { |
|
|
|
|