diff options
| author | 2018-09-12 04:49:08 -0400 | |
|---|---|---|
| committer | 2018-09-12 04:49:11 -0400 | |
| commit | 04d723baf96e35222c922fb212f92e60f8b7370c (patch) | |
| tree | 531e465a5fbca802ad6523134f0b8f5be12406d5 /src/core/hle/kernel/svc.cpp | |
| parent | Merge pull request #1296 from lioncash/prepo (diff) | |
| download | yuzu-04d723baf96e35222c922fb212f92e60f8b7370c.tar.gz yuzu-04d723baf96e35222c922fb212f92e60f8b7370c.tar.xz yuzu-04d723baf96e35222c922fb212f92e60f8b7370c.zip | |
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 1c9373ed8..07a6c4014 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) { | |||
| 273 | } | 273 | } |
| 274 | 274 | ||
| 275 | /// Used to output a message on a debug hardware unit - does nothing on a retail unit | 275 | /// Used to output a message on a debug hardware unit - does nothing on a retail unit |
| 276 | static void OutputDebugString(VAddr address, s32 len) { | 276 | static void OutputDebugString(VAddr address, u64 len) { |
| 277 | std::string str(len, '\0'); | 277 | std::string str(len, '\0'); |
| 278 | Memory::ReadBlock(address, str.data(), str.size()); | 278 | Memory::ReadBlock(address, str.data(), str.size()); |
| 279 | LOG_DEBUG(Debug_Emulated, "{}", str); | 279 | LOG_DEBUG(Debug_Emulated, "{}", str); |