diff options
| author | Subv <subv2112@gmail.com> | 2015-12-31 09:46:32 -0500 |
|---|---|---|
| committer | Subv <subv2112@gmail.com> | 2016-01-14 11:29:19 -0500 |
| commit | d90d5a0ee6b9c08baacd56cb88159d20bbfdb2f0 (patch) | |
| tree | 7d0c54fee5790a5c5071d8441ec7cb6d88e0e527 /src/core/hle/function_wrappers.h | |
| parent | 82087672b7eba5a42e081c29b8e7b79cb4f77a25 (diff) | |
HLE/SVC: Implement UnmapMemoryBlock.
This implementation will need to be (almost completely) changed when we implement multiprocess support.
Diffstat (limited to 'src/core/hle/function_wrappers.h')
| -rw-r--r-- | src/core/hle/function_wrappers.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/hle/function_wrappers.h b/src/core/hle/function_wrappers.h index 3501e45db..882a51df1 100644 --- a/src/core/hle/function_wrappers.h +++ b/src/core/hle/function_wrappers.h @@ -188,6 +188,10 @@ template<ResultCode func(s64*, Handle, u32)> void Wrap() { FuncReturn(retval); } +template<ResultCode func(Handle, u32)> void Wrap() { + FuncReturn(func(PARAM(0), PARAM(1)).raw); +} + //////////////////////////////////////////////////////////////////////////////////////////////////// // Function wrappers that return type u32 |
