summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Common/Logging/ConsoleListenerWin.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/Common/Logging/ConsoleListenerWin.cpp b/Source/Core/Common/Logging/ConsoleListenerWin.cpp
index 4dca963757..b28c662bde 100644
--- a/Source/Core/Common/Logging/ConsoleListenerWin.cpp
+++ b/Source/Core/Common/Logging/ConsoleListenerWin.cpp
@@ -5,6 +5,7 @@
#include <windows.h>
#include "Common/Logging/ConsoleListener.h"
+#include "Common/StringUtil.h"
ConsoleListener::ConsoleListener()
{
@@ -16,5 +17,5 @@ ConsoleListener::~ConsoleListener()
void ConsoleListener::Log(LogTypes::LOG_LEVELS level, const char* text)
{
- ::OutputDebugStringA(text);
+ ::OutputDebugStringW(UTF8ToUTF16(text).c_str());
}