hle/kernel: Addressed comment about obscure formating

This commit is contained in:
NarcolepticK 2018-06-23 14:12:54 -04:00
parent d433a07b6b
commit ed18140daa

View file

@ -663,9 +663,9 @@ static void Break(u8 break_reason) {
/// Used to output a message on a debug hardware unit - does nothing on a retail unit
static void OutputDebugString(VAddr address, int len) {
std::vector<char> string(len);
std::string string(len, ' ');
Memory::ReadBlock(address, string.data(), len);
NGLOG_DEBUG(Debug_Emulated, "{:.{}}", string.data(), len);
NGLOG_DEBUG(Debug_Emulated, "{}", string);
}
/// Get resource limit