mirror of
https://github.com/Lime3DS/Lime3DS
synced 2024-12-26 09:02:44 -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
|
/// 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
|
||||||
|
|
Loading…
Reference in a new issue