From ed18140daa4c5da42f5713cb0c118bf814c5d58a Mon Sep 17 00:00:00 2001 From: NarcolepticK Date: Sat, 23 Jun 2018 14:12:54 -0400 Subject: [PATCH] hle/kernel: Addressed comment about obscure formating --- src/core/hle/kernel/svc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/hle/kernel/svc.cpp b/src/core/hle/kernel/svc.cpp index 1c4c06335..7c0796cea 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