summaryrefslogtreecommitdiff
path: root/src/core/hle/function_wrappers.h
diff options
context:
space:
mode:
authorGravatar bunnei2017-12-28 21:38:38 -0500
committerGravatar bunnei2017-12-28 21:38:38 -0500
commit6e021f22b8c61654aa1e72ceef16202a11d42016 (patch)
tree965a3c330f88ed6724c5315abb8e673d5af58b38 /src/core/hle/function_wrappers.h
parentprocess: Add method to mirror a memory region. (diff)
downloadyuzu-6e021f22b8c61654aa1e72ceef16202a11d42016.tar.gz
yuzu-6e021f22b8c61654aa1e72ceef16202a11d42016.tar.xz
yuzu-6e021f22b8c61654aa1e72ceef16202a11d42016.zip
svc: Implement MapMemory.
Diffstat (limited to 'src/core/hle/function_wrappers.h')
-rw-r--r--src/core/hle/function_wrappers.h5
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() {
42 FuncReturn(func(PARAM(0), PARAM(1)).raw); 42 FuncReturn(func(PARAM(0), PARAM(1)).raw);
43} 43}
44 44
45template <ResultCode func(u64, u64, u64)>
46void Wrap() {
47 FuncReturn(func(PARAM(0), PARAM(1), PARAM(2)).raw);
48}
49
45template <ResultCode func(u64, u64, s64)> 50template <ResultCode func(u64, u64, s64)>
46void Wrap() { 51void Wrap() {
47 FuncReturn(func(PARAM(1), PARAM(2), (s64)PARAM(3)).raw); 52 FuncReturn(func(PARAM(1), PARAM(2), (s64)PARAM(3)).raw);