summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMai M <mathew1800@gmail.com>2022-02-14 01:54:05 +0100
committerGitHub <noreply@github.com>2022-02-14 01:54:05 +0100
commit45bcd7f9b8599d24f85747b2c0d4a86a28238c98 (patch)
tree2b18e0e91a5d9530c20a10868610ca6f0a4986b8
parentMerge pull request #7887 from lat9nq/stub-is-usb-full-key (diff)
parentdebugger: console: Set console output codepage to UTF-8 (diff)
downloadyuzu-45bcd7f9b8599d24f85747b2c0d4a86a28238c98.tar
yuzu-45bcd7f9b8599d24f85747b2c0d4a86a28238c98.tar.gz
yuzu-45bcd7f9b8599d24f85747b2c0d4a86a28238c98.tar.bz2
yuzu-45bcd7f9b8599d24f85747b2c0d4a86a28238c98.tar.lz
yuzu-45bcd7f9b8599d24f85747b2c0d4a86a28238c98.tar.xz
yuzu-45bcd7f9b8599d24f85747b2c0d4a86a28238c98.tar.zst
yuzu-45bcd7f9b8599d24f85747b2c0d4a86a28238c98.zip
-rw-r--r--src/yuzu/debugger/console.cpp1
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() {
freopen_s(&temp, "CONIN$", "r", stdin);
freopen_s(&temp, "CONOUT$", "w", stdout);
freopen_s(&temp, "CONOUT$", "w", stderr);
+ SetConsoleOutputCP(65001);
SetColorConsoleBackendEnabled(true);
}
} else {