diff options
| author | 2022-02-13 18:18:05 -0500 | |
|---|---|---|
| committer | 2022-02-13 18:18:05 -0500 | |
| commit | 54c7af99020974189a47a11f191c66246f34ad75 (patch) | |
| tree | 2b18e0e91a5d9530c20a10868610ca6f0a4986b8 /src | |
| parent | Merge pull request #7887 from lat9nq/stub-is-usb-full-key (diff) | |
| download | yuzu-54c7af99020974189a47a11f191c66246f34ad75.tar.gz yuzu-54c7af99020974189a47a11f191c66246f34ad75.tar.xz yuzu-54c7af99020974189a47a11f191c66246f34ad75.zip | |
debugger: console: Set console output codepage to UTF-8
This allows the console to display multi-byte encoded characters.
Diffstat (limited to 'src')
| -rw-r--r-- | src/yuzu/debugger/console.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/yuzu/debugger/console.cpp b/src/yuzu/debugger/console.cpp index f89ea8ea7..4b508b466 100644 --- a/src/yuzu/debugger/console.cpp +++ b/src/yuzu/debugger/console.cpp | |||
| @@ -30,6 +30,7 @@ void ToggleConsole() { | |||
| 30 | freopen_s(&temp, "CONIN$", "r", stdin); | 30 | freopen_s(&temp, "CONIN$", "r", stdin); |
| 31 | freopen_s(&temp, "CONOUT$", "w", stdout); | 31 | freopen_s(&temp, "CONOUT$", "w", stdout); |
| 32 | freopen_s(&temp, "CONOUT$", "w", stderr); | 32 | freopen_s(&temp, "CONOUT$", "w", stderr); |
| 33 | SetConsoleOutputCP(65001); | ||
| 33 | SetColorConsoleBackendEnabled(true); | 34 | SetColorConsoleBackendEnabled(true); |
| 34 | } | 35 | } |
| 35 | } else { | 36 | } else { |