diff options
author | bunnei <bunneidev@gmail.com> | 2017-04-02 22:41:10 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-02 22:41:10 -0400 |
commit | a377fea90f829643c8efe3fa80abe6050d162c55 (patch) | |
tree | 4f76aa3c7fb04dff1a0aa983b6595068140afd19 /src/core/hle/svc.cpp | |
parent | eb8a7a92c140f4e4fd981c21ea73a407360e36db (diff) | |
parent | 31f9c1ab5d758eeca2841892f19e7b0800bce352 (diff) |
Merge pull request #2648 from mtheall/master
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 |