diff options
| author | bunnei <bunneidev@gmail.com> | 2018-12-07 18:16:10 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-12-07 18:16:10 -0500 |
| commit | 49840e686e40c3ecc4dbb320ab3a736b10ff040f (patch) | |
| tree | d2f2933706150a44310962be894f43d87023d4bf /src/common/logging/backend.cpp | |
| parent | 6e81f4edc9e671cbd9f7061fee92990cbc22b03f (diff) | |
| parent | da012f0d547806f1edca79dfc43797bbe8b35f36 (diff) | |
Merge pull request #1882 from FearlessTobi/backport-4418-fix
Backport review comment from citra-emu/citra#4418
Diffstat (limited to 'src/common/logging/backend.cpp')
| -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 5753b871a7..12f6d01144 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 } |
