diff options
author | Michael Theall <pigman46@gmail.com> | 2017-04-01 04:09:39 -0500 |
---|---|---|
committer | Michael Theall <pigman46@gmail.com> | 2017-04-01 04:09:39 -0500 |
commit | 31f9c1ab5d758eeca2841892f19e7b0800bce352 (patch) | |
tree | 4f76aa3c7fb04dff1a0aa983b6595068140afd19 /src/core/hle/svc.cpp | |
parent | eb8a7a92c140f4e4fd981c21ea73a407360e36db (diff) |
Fix OutputDebugString syscall
Diffstat (limited to 'src/core/hle/svc.cpp')
-rw-r--r-- | src/core/hle/svc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/svc.cpp b/src/core/hle/svc.cpp index 4e0c3fb8b..2db823c61 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 |