diff --git a/src/core/hle/kernel/svc.cpp b/src/core/hle/kernel/svc.cpp index 1c4c063356..7c0796ceab 100644 --- a/src/core/hle/kernel/svc.cpp +++ b/src/core/hle/kernel/svc.cpp @@ -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 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