summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/svc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hle/kernel/svc.cpp')
-rw-r--r--src/core/hle/kernel/svc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/svc.cpp b/src/core/hle/kernel/svc.cpp
index 1c9373ed8..07a6c4014 100644
--- a/src/core/hle/kernel/svc.cpp
+++ b/src/core/hle/kernel/svc.cpp
@@ -273,7 +273,7 @@ static void Break(u64 reason, u64 info1, u64 info2) {
273} 273}
274 274
275/// Used to output a message on a debug hardware unit - does nothing on a retail unit 275/// Used to output a message on a debug hardware unit - does nothing on a retail unit
276static void OutputDebugString(VAddr address, s32 len) { 276static void OutputDebugString(VAddr address, u64 len) {
277 std::string str(len, '\0'); 277 std::string str(len, '\0');
278 Memory::ReadBlock(address, str.data(), str.size()); 278 Memory::ReadBlock(address, str.data(), str.size());
279 LOG_DEBUG(Debug_Emulated, "{}", str); 279 LOG_DEBUG(Debug_Emulated, "{}", str);