mirror of
https://github.com/Lime3DS/Lime3DS
synced 2024-12-25 16:42:39 -06:00
hle/kernel: Addressed comment about obscure formating
This commit is contained in:
parent
d433a07b6b
commit
ed18140daa
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue