summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/svc_wrap.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-04-12 05:21:13 +0200
committerLioncash <mathew1800@gmail.com>2019-04-13 03:55:50 +0200
commit76a2465655be493492446b4ef686f4b59b2e3969 (patch)
treedc28b70dfd697390427ea013b0925999a9f19578 /src/core/hle/kernel/svc_wrap.h
parentMerge pull request #2235 from ReinUsesLisp/spirv-decompiler (diff)
downloadyuzu-76a2465655be493492446b4ef686f4b59b2e3969.tar
yuzu-76a2465655be493492446b4ef686f4b59b2e3969.tar.gz
yuzu-76a2465655be493492446b4ef686f4b59b2e3969.tar.bz2
yuzu-76a2465655be493492446b4ef686f4b59b2e3969.tar.lz
yuzu-76a2465655be493492446b4ef686f4b59b2e3969.tar.xz
yuzu-76a2465655be493492446b4ef686f4b59b2e3969.tar.zst
yuzu-76a2465655be493492446b4ef686f4b59b2e3969.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/kernel/svc_wrap.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/hle/kernel/svc_wrap.h b/src/core/hle/kernel/svc_wrap.h
index b3690b5f3..865473c6f 100644
--- a/src/core/hle/kernel/svc_wrap.h
+++ b/src/core/hle/kernel/svc_wrap.h
@@ -44,6 +44,13 @@ void SvcWrap(Core::System& system) {
func(system, static_cast<u32>(Param(system, 0)), static_cast<u32>(Param(system, 1))).raw);
}
+template <ResultCode func(Core::System&, u32, u64, u64, u64)>
+void SvcWrap(Core::System& system) {
+ FuncReturn(system, func(system, static_cast<u32>(Param(system, 0)), Param(system, 1),
+ Param(system, 2), Param(system, 3))
+ .raw);
+}
+
template <ResultCode func(Core::System&, u32*)>
void SvcWrap(Core::System& system) {
u32 param = 0;