summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-09-12 10:49:08 +0200
committerLioncash <mathew1800@gmail.com>2018-09-12 10:49:11 +0200
commit04d723baf96e35222c922fb212f92e60f8b7370c (patch)
tree531e465a5fbca802ad6523134f0b8f5be12406d5
parentMerge pull request #1296 from lioncash/prepo (diff)
downloadyuzu-04d723baf96e35222c922fb212f92e60f8b7370c.tar
yuzu-04d723baf96e35222c922fb212f92e60f8b7370c.tar.gz
yuzu-04d723baf96e35222c922fb212f92e60f8b7370c.tar.bz2
yuzu-04d723baf96e35222c922fb212f92e60f8b7370c.tar.lz
yuzu-04d723baf96e35222c922fb212f92e60f8b7370c.tar.xz
yuzu-04d723baf96e35222c922fb212f92e60f8b7370c.tar.zst
yuzu-04d723baf96e35222c922fb212f92e60f8b7370c.zip
-rw-r--r--src/core/hle/kernel/svc.cpp2
-rw-r--r--src/core/hle/kernel/svc_wrap.h4
2 files changed, 3 insertions, 3 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) {
}
/// 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);
diff --git a/src/core/hle/kernel/svc_wrap.h b/src/core/hle/kernel/svc_wrap.h
index 79c3fe31b..1eda5f879 100644
--- a/src/core/hle/kernel/svc_wrap.h
+++ b/src/core/hle/kernel/svc_wrap.h
@@ -222,9 +222,9 @@ void SvcWrap() {
func((s64)PARAM(0));
}
-template <void func(u64, s32 len)>
+template <void func(u64, u64 len)>
void SvcWrap() {
- func(PARAM(0), (s32)(PARAM(1) & 0xFFFFFFFF));
+ func(PARAM(0), PARAM(1));
}
template <void func(u64, u64, u64)>