summaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorTobias <thm.frey@gmail.com>2018-12-07 16:21:18 +0100
committerGitHub <noreply@github.com>2018-12-07 16:21:18 +0100
commiteb15711ee68f15a48747820bd0639a711c767557 (patch)
tree0656440a64333fdd78871a286f0891797ab89ecc /src/common
parentMerge pull request #1868 from lioncash/config (diff)
downloadyuzu-eb15711ee68f15a48747820bd0639a711c767557.tar
yuzu-eb15711ee68f15a48747820bd0639a711c767557.tar.gz
yuzu-eb15711ee68f15a48747820bd0639a711c767557.tar.bz2
yuzu-eb15711ee68f15a48747820bd0639a711c767557.tar.lz
yuzu-eb15711ee68f15a48747820bd0639a711c767557.tar.xz
yuzu-eb15711ee68f15a48747820bd0639a711c767557.tar.zst
yuzu-eb15711ee68f15a48747820bd0639a711c767557.zip
Diffstat (limited to 'src/common')
-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
}