Merge pull request #4121 from leoetlino/osreport-sjis

Convert OSREPORT text from SJIS to UTF-8
This commit is contained in:
Scott Mansell 2016-08-15 16:04:07 +12:00 committed by GitHub
commit 0015d2e86b

View File

@ -11,6 +11,7 @@
#include "Common/FileUtil.h"
#include "Common/Logging/Log.h"
#include "Common/MemoryUtil.h"
#include "Common/StringUtil.h"
#include "Common/Timer.h"
#include "Core/ConfigManager.h"
#include "Core/Core.h"
@ -340,7 +341,7 @@ void CEXIIPL::TransferByte(u8& _uByte)
if (_uByte == '\r')
{
NOTICE_LOG(OSREPORT, "%s", m_buffer.c_str());
NOTICE_LOG(OSREPORT, "%s", SHIFTJISToUTF8(m_buffer).c_str());
m_buffer.clear();
}
}