summaryrefslogtreecommitdiff
path: root/src/core/hle/svc.cpp
diff options
context:
space:
mode:
authorGravatar bunnei2017-04-02 22:41:10 -0400
committerGravatar GitHub2017-04-02 22:41:10 -0400
commita377fea90f829643c8efe3fa80abe6050d162c55 (patch)
tree4f76aa3c7fb04dff1a0aa983b6595068140afd19 /src/core/hle/svc.cpp
parentMerge pull request #2639 from wwylele/fix-ptm-fs (diff)
parentFix OutputDebugString syscall (diff)
downloadyuzu-a377fea90f829643c8efe3fa80abe6050d162c55.tar.gz
yuzu-a377fea90f829643c8efe3fa80abe6050d162c55.tar.xz
yuzu-a377fea90f829643c8efe3fa80abe6050d162c55.zip
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.cpp4
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) {
467} 467}
468 468
469/// Used to output a message on a debug hardware unit - does nothing on a retail unit 469/// Used to output a message on a debug hardware unit - does nothing on a retail unit
470static void OutputDebugString(const char* string) { 470static void OutputDebugString(const char* string, int len) {
471 LOG_DEBUG(Debug_Emulated, "%s", string); 471 LOG_DEBUG(Debug_Emulated, "%.*s", len, string);
472} 472}
473 473
474/// Get resource limit 474/// Get resource limit