summaryrefslogtreecommitdiffstats
path: root/src/core/hle
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2015-07-25 21:55:34 +0200
committerYuri Kunde Schlesner <yuriks@yuriks.net>2015-07-25 21:55:34 +0200
commit24d7c05c8dd96a447699ba5059410d2009fab5c8 (patch)
tree5694b07e26e682d5e67cdcf7595c2244fdc5f008 /src/core/hle
parentAddress error that remained in last merge (diff)
parentCore\HLE : Fix Warning (diff)
downloadyuzu-24d7c05c8dd96a447699ba5059410d2009fab5c8.tar
yuzu-24d7c05c8dd96a447699ba5059410d2009fab5c8.tar.gz
yuzu-24d7c05c8dd96a447699ba5059410d2009fab5c8.tar.bz2
yuzu-24d7c05c8dd96a447699ba5059410d2009fab5c8.tar.lz
yuzu-24d7c05c8dd96a447699ba5059410d2009fab5c8.tar.xz
yuzu-24d7c05c8dd96a447699ba5059410d2009fab5c8.tar.zst
yuzu-24d7c05c8dd96a447699ba5059410d2009fab5c8.zip
Diffstat (limited to 'src/core/hle')
-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 9294789ec..1a0518926 100644
--- a/src/core/hle/function_wrappers.h
+++ b/src/core/hle/function_wrappers.h
@@ -133,7 +133,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 bdede964e..bb64fdfb7 100644
--- a/src/core/hle/svc.cpp
+++ b/src/core/hle/svc.cpp
@@ -334,7 +334,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);
@@ -350,7 +350,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);