diff options
| author | 2017-04-01 04:09:39 -0500 | |
|---|---|---|
| committer | 2017-04-01 04:09:39 -0500 | |
| commit | 31f9c1ab5d758eeca2841892f19e7b0800bce352 (patch) | |
| tree | 4f76aa3c7fb04dff1a0aa983b6595068140afd19 /src/core/hle/svc.cpp | |
| parent | Merge pull request #2639 from wwylele/fix-ptm-fs (diff) | |
| download | yuzu-31f9c1ab5d758eeca2841892f19e7b0800bce352.tar.gz yuzu-31f9c1ab5d758eeca2841892f19e7b0800bce352.tar.xz yuzu-31f9c1ab5d758eeca2841892f19e7b0800bce352.zip | |
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) { | |||
| 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 |
| 470 | static void OutputDebugString(const char* string) { | 470 | static 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 |