diff options
author | bunnei <bunneidev@gmail.com> | 2017-12-29 03:38:38 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2017-12-29 03:38:38 +0100 |
commit | 6e021f22b8c61654aa1e72ceef16202a11d42016 (patch) | |
tree | 965a3c330f88ed6724c5315abb8e673d5af58b38 /src/core/hle/function_wrappers.h | |
parent | process: Add method to mirror a memory region. (diff) | |
download | yuzu-6e021f22b8c61654aa1e72ceef16202a11d42016.tar yuzu-6e021f22b8c61654aa1e72ceef16202a11d42016.tar.gz yuzu-6e021f22b8c61654aa1e72ceef16202a11d42016.tar.bz2 yuzu-6e021f22b8c61654aa1e72ceef16202a11d42016.tar.lz yuzu-6e021f22b8c61654aa1e72ceef16202a11d42016.tar.xz yuzu-6e021f22b8c61654aa1e72ceef16202a11d42016.tar.zst yuzu-6e021f22b8c61654aa1e72ceef16202a11d42016.zip |
Diffstat (limited to 'src/core/hle/function_wrappers.h')
-rw-r--r-- | src/core/hle/function_wrappers.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/hle/function_wrappers.h b/src/core/hle/function_wrappers.h index 528208178..5d6d0eb56 100644 --- a/src/core/hle/function_wrappers.h +++ b/src/core/hle/function_wrappers.h @@ -42,6 +42,11 @@ void Wrap() { FuncReturn(func(PARAM(0), PARAM(1)).raw); } +template <ResultCode func(u64, u64, u64)> +void Wrap() { + FuncReturn(func(PARAM(0), PARAM(1), PARAM(2)).raw); +} + template <ResultCode func(u64, u64, s64)> void Wrap() { FuncReturn(func(PARAM(1), PARAM(2), (s64)PARAM(3)).raw); |