mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-09 23:59:27 +01:00
ConsoleListenerWin: Properly output console logging in UTF-16 so UTF-8 displays properly
This commit is contained in:
parent
5ea4f998c0
commit
eab086b880
@ -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());
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user