diff options
author | bunnei <bunneidev@gmail.com> | 2015-05-15 15:42:36 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2015-05-15 15:42:36 +0200 |
commit | ef8d0e9823e0ac61624002b89912e8995a3588e4 (patch) | |
tree | dfaee1cefb39e627bd90562c416d19fe6002209c /src/core/hle/function_wrappers.h | |
parent | Merge pull request #675 from jroweboy/windows-build-fixes (diff) | |
parent | Core/ResourceLimits: Implemented the basic structure of ResourceLimits. (diff) | |
download | yuzu-ef8d0e9823e0ac61624002b89912e8995a3588e4.tar yuzu-ef8d0e9823e0ac61624002b89912e8995a3588e4.tar.gz yuzu-ef8d0e9823e0ac61624002b89912e8995a3588e4.tar.bz2 yuzu-ef8d0e9823e0ac61624002b89912e8995a3588e4.tar.lz yuzu-ef8d0e9823e0ac61624002b89912e8995a3588e4.tar.xz yuzu-ef8d0e9823e0ac61624002b89912e8995a3588e4.tar.zst yuzu-ef8d0e9823e0ac61624002b89912e8995a3588e4.zip |
Diffstat (limited to 'src/core/hle/function_wrappers.h')
-rw-r--r-- | src/core/hle/function_wrappers.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/function_wrappers.h b/src/core/hle/function_wrappers.h index eb52c8fb1..0e5ae29ae 100644 --- a/src/core/hle/function_wrappers.h +++ b/src/core/hle/function_wrappers.h @@ -102,8 +102,8 @@ template<ResultCode func(u32)> void Wrap() { FuncReturn(func(PARAM(0)).raw); } -template<ResultCode func(s64*, u32, void*, s32)> void Wrap(){ - FuncReturn(func((s64*)Memory::GetPointer(PARAM(0)), PARAM(1), Memory::GetPointer(PARAM(2)), +template<ResultCode func(s64*, u32, u32*, s32)> void Wrap(){ + FuncReturn(func((s64*)Memory::GetPointer(PARAM(0)), PARAM(1), (u32*)Memory::GetPointer(PARAM(2)), (s32)PARAM(3)).raw); } |