aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/svc.cpp
diff options
context:
space:
mode:
authorMichael Theall <pigman46@gmail.com>2017-04-01 04:09:39 -0500
committerMichael Theall <pigman46@gmail.com>2017-04-01 04:09:39 -0500
commit775ae0634ee0c6afcbe7b1b18cbf9bb695ff1831 (patch)
tree4f76aa3c7fb04dff1a0aa983b6595068140afd19 /src/core/hle/svc.cpp
parentcbeff43328602f864caae6df8d062a54c3883202 (diff)
Fix OutputDebugString syscall
Diffstat (limited to 'src/core/hle/svc.cpp')
-rw-r--r--src/core/hle/svc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/svc.cpp b/src/core/hle/svc.cpp
index 4e0c3fb8bc..2db823c615 100644
--- a/src/core/hle/svc.cpp
+++ b/src/core/hle/svc.cpp
@@ -467,8 +467,8 @@ 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(const char* string) {
- LOG_DEBUG(Debug_Emulated, "%s", string);
+static void OutputDebugString(const char* string, int len) {
+ LOG_DEBUG(Debug_Emulated, "%.*s", len, string);
}
/// Get resource limit