mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-11 00:29:11 +01:00
HLE_OS: Convert debug messages from SJIS to UTF-8
It looks like the debug output is also output as SJIS (similar to OSReport text), so we need to convert it to UTF-8 to prevent it from all showing up as �. This doesn't fix all display issues, but fixes all SJIS/UTF-8 related ones.
This commit is contained in:
parent
303325768b
commit
e1cecbb233
@ -43,7 +43,7 @@ void HLE_GeneralDebugPrint()
|
|||||||
|
|
||||||
NPC = LR;
|
NPC = LR;
|
||||||
|
|
||||||
NOTICE_LOG(OSREPORT, "%08x->%08x| %s", LR, PC, report_message.c_str());
|
NOTICE_LOG(OSREPORT, "%08x->%08x| %s", LR, PC, SHIFTJISToUTF8(report_message).c_str());
|
||||||
}
|
}
|
||||||
|
|
||||||
// __write_console is slightly abnormal
|
// __write_console is slightly abnormal
|
||||||
@ -53,7 +53,7 @@ void HLE_write_console()
|
|||||||
|
|
||||||
NPC = LR;
|
NPC = LR;
|
||||||
|
|
||||||
NOTICE_LOG(OSREPORT, "%08x->%08x| %s", LR, PC, report_message.c_str());
|
NOTICE_LOG(OSREPORT, "%08x->%08x| %s", LR, PC, SHIFTJISToUTF8(report_message).c_str());
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string GetStringVA(u32 strReg)
|
std::string GetStringVA(u32 strReg)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user