summaryrefslogtreecommitdiffstats
path: root/src/core/hle
diff options
context:
space:
mode:
authorzawata <zawataza@gmail.com>2015-06-27 06:48:08 +0200
committerzawata <zawataza@gmail.com>2015-07-17 09:50:53 +0200
commitf723a498e737b077b587a0ff04e97900d9916bca (patch)
treec8a80ecfff50bab613f053aca3690dbfcfe3ae6c /src/core/hle
parentMerge pull request #884 from chinhodado/patch-1 (diff)
downloadyuzu-f723a498e737b077b587a0ff04e97900d9916bca.tar
yuzu-f723a498e737b077b587a0ff04e97900d9916bca.tar.gz
yuzu-f723a498e737b077b587a0ff04e97900d9916bca.tar.bz2
yuzu-f723a498e737b077b587a0ff04e97900d9916bca.tar.lz
yuzu-f723a498e737b077b587a0ff04e97900d9916bca.tar.xz
yuzu-f723a498e737b077b587a0ff04e97900d9916bca.tar.zst
yuzu-f723a498e737b077b587a0ff04e97900d9916bca.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/function_wrappers.h2
-rw-r--r--src/core/hle/svc.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/function_wrappers.h b/src/core/hle/function_wrappers.h
index 5949cb470..ea0777438 100644
--- a/src/core/hle/function_wrappers.h
+++ b/src/core/hle/function_wrappers.h
@@ -113,7 +113,7 @@ template<ResultCode func(u32)> void Wrap() {
FuncReturn(func(PARAM(0)).raw);
}
-template<ResultCode func(s64*, u32, u32*, s32)> void Wrap(){
+template<ResultCode func(s64*, u32, u32*, u32)> void Wrap(){
FuncReturn(func((s64*)Memory::GetPointer(PARAM(0)), PARAM(1), (u32*)Memory::GetPointer(PARAM(2)),
(s32)PARAM(3)).raw);
}
diff --git a/src/core/hle/svc.cpp b/src/core/hle/svc.cpp
index 6cde4fc87..cc414743a 100644
--- a/src/core/hle/svc.cpp
+++ b/src/core/hle/svc.cpp
@@ -333,7 +333,7 @@ static ResultCode GetResourceLimit(Handle* resource_limit, Handle process_handle
/// Get resource limit current values
static ResultCode GetResourceLimitCurrentValues(s64* values, Handle resource_limit_handle, u32* names,
- s32 name_count) {
+ u32 name_count) {
LOG_TRACE(Kernel_SVC, "called resource_limit=%08X, names=%p, name_count=%d",
resource_limit_handle, names, name_count);
@@ -349,7 +349,7 @@ static ResultCode GetResourceLimitCurrentValues(s64* values, Handle resource_lim
/// Get resource limit max values
static ResultCode GetResourceLimitLimitValues(s64* values, Handle resource_limit_handle, u32* names,
- s32 name_count) {
+ u32 name_count) {
LOG_TRACE(Kernel_SVC, "called resource_limit=%08X, names=%p, name_count=%d",
resource_limit_handle, names, name_count);