diff options
| author | Lioncash <mathew1800@gmail.com> | 2018-09-12 04:49:08 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2018-09-12 04:49:11 -0400 |
| commit | 00b69a95277b69d7f47b03417eb0fbffe262635f (patch) | |
| tree | 531e465a5fbca802ad6523134f0b8f5be12406d5 /src/core/hle/kernel/svc.cpp | |
| parent | ad6c31e1c57ff034e3c2c8e254afc87cfb158cd9 (diff) | |
svc: Correct parameter type for OutputDebugString()
This should be a u64 to represent size.
Diffstat (limited to 'src/core/hle/kernel/svc.cpp')
| -rw-r--r-- | src/core/hle/kernel/svc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/svc.cpp b/src/core/hle/kernel/svc.cpp index 1c9373ed87..07a6c40144 100644 --- a/src/core/hle/kernel/svc.cpp +++ b/src/core/hle/kernel/svc.cpp @@ -273,7 +273,7 @@ static void Break(u64 reason, u64 info1, u64 info2) { } /// Used to output a message on a debug hardware unit - does nothing on a retail unit -static void OutputDebugString(VAddr address, s32 len) { +static void OutputDebugString(VAddr address, u64 len) { std::string str(len, '\0'); Memory::ReadBlock(address, str.data(), str.size()); LOG_DEBUG(Debug_Emulated, "{}", str); |
