summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-12-08 00:16:10 +0100
committerGitHub <noreply@github.com>2018-12-08 00:16:10 +0100
commit713fc67b5181a38f6bca977849693163a28b531b (patch)
treed2f2933706150a44310962be894f43d87023d4bf
parentMerge pull request #1873 from lioncash/const (diff)
parentBackport review comment from citra-emu/citra#4418 (diff)
downloadyuzu-713fc67b5181a38f6bca977849693163a28b531b.tar
yuzu-713fc67b5181a38f6bca977849693163a28b531b.tar.gz
yuzu-713fc67b5181a38f6bca977849693163a28b531b.tar.bz2
yuzu-713fc67b5181a38f6bca977849693163a28b531b.tar.lz
yuzu-713fc67b5181a38f6bca977849693163a28b531b.tar.xz
yuzu-713fc67b5181a38f6bca977849693163a28b531b.tar.zst
yuzu-713fc67b5181a38f6bca977849693163a28b531b.zip
-rw-r--r--src/common/logging/backend.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/logging/backend.cpp b/src/common/logging/backend.cpp
index 5753b871a..12f6d0114 100644
--- a/src/common/logging/backend.cpp
+++ b/src/common/logging/backend.cpp
@@ -13,7 +13,7 @@
#include <vector>
#ifdef _WIN32
#include <share.h> // For _SH_DENYWR
-#include <windows.h> // For OutputDebugStringA
+#include <windows.h> // For OutputDebugStringW
#else
#define _SH_DENYWR 0
#endif
@@ -148,7 +148,7 @@ void FileBackend::Write(const Entry& entry) {
void DebuggerBackend::Write(const Entry& entry) {
#ifdef _WIN32
- ::OutputDebugStringA(FormatLogMessage(entry).append(1, '\n').c_str());
+ ::OutputDebugStringW(Common::UTF8ToUTF16W(FormatLogMessage(entry).append(1, '\n')).c_str());
#endif
}