diff options
author | bunnei <bunneidev@gmail.com> | 2018-12-08 00:16:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-08 00:16:10 +0100 |
commit | 713fc67b5181a38f6bca977849693163a28b531b (patch) | |
tree | d2f2933706150a44310962be894f43d87023d4bf | |
parent | Merge pull request #1873 from lioncash/const (diff) | |
parent | Backport review comment from citra-emu/citra#4418 (diff) | |
download | yuzu-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.cpp | 4 |
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 } |