mirror of
https://github.com/citra-emu/citra-nightly.git
synced 2024-12-29 20:05:36 +00:00
Merge pull request #888 from zawata/Warning-Fixes-2
Core\HLE : Fix Warning
This commit is contained in:
commit
24d7c05c8d
|
@ -133,7 +133,7 @@ template<ResultCode func(u32)> void Wrap() {
|
||||||
FuncReturn(func(PARAM(0)).raw);
|
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)),
|
FuncReturn(func((s64*)Memory::GetPointer(PARAM(0)), PARAM(1), (u32*)Memory::GetPointer(PARAM(2)),
|
||||||
(s32)PARAM(3)).raw);
|
(s32)PARAM(3)).raw);
|
||||||
}
|
}
|
||||||
|
|
|
@ -334,7 +334,7 @@ static ResultCode GetResourceLimit(Handle* resource_limit, Handle process_handle
|
||||||
|
|
||||||
/// Get resource limit current values
|
/// Get resource limit current values
|
||||||
static ResultCode GetResourceLimitCurrentValues(s64* values, Handle resource_limit_handle, u32* names,
|
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",
|
LOG_TRACE(Kernel_SVC, "called resource_limit=%08X, names=%p, name_count=%d",
|
||||||
resource_limit_handle, names, name_count);
|
resource_limit_handle, names, name_count);
|
||||||
|
|
||||||
|
@ -350,7 +350,7 @@ static ResultCode GetResourceLimitCurrentValues(s64* values, Handle resource_lim
|
||||||
|
|
||||||
/// Get resource limit max values
|
/// Get resource limit max values
|
||||||
static ResultCode GetResourceLimitLimitValues(s64* values, Handle resource_limit_handle, u32* names,
|
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",
|
LOG_TRACE(Kernel_SVC, "called resource_limit=%08X, names=%p, name_count=%d",
|
||||||
resource_limit_handle, names, name_count);
|
resource_limit_handle, names, name_count);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue