mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-11-23 01:22:51 +00:00
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
|
||||
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