hle/kernel: Addressed comment about obscure formating
This commit is contained in:
parent
d433a07b6b
commit
ed18140daa
|
@ -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
|
/// Used to output a message on a debug hardware unit - does nothing on a retail unit
|
||||||
static void OutputDebugString(VAddr address, int len) {
|
static void OutputDebugString(VAddr address, int len) {
|
||||||
std::vector<char> string(len);
|
std::string string(len, ' ');
|
||||||
Memory::ReadBlock(address, string.data(), len);
|
Memory::ReadBlock(address, string.data(), len);
|
||||||
NGLOG_DEBUG(Debug_Emulated, "{:.{}}", string.data(), len);
|
NGLOG_DEBUG(Debug_Emulated, "{}", string);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Get resource limit
|
/// Get resource limit
|
||||||
|
|
Reference in New Issue