summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/svc_wrap.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-09-30 21:32:27 +0200
committerGitHub <noreply@github.com>2018-09-30 21:32:27 +0200
commit5e2f23e2b185475c3ce7ae1750ec14daefcd3e08 (patch)
treeac2c341c94976552acd507359e8853105193d288 /src/core/hle/kernel/svc_wrap.h
parentMerge pull request #1418 from FearlessTobi/port-4269 (diff)
parentkernel/svc: Implement svcGetThreadContext() (diff)
downloadyuzu-5e2f23e2b185475c3ce7ae1750ec14daefcd3e08.tar
yuzu-5e2f23e2b185475c3ce7ae1750ec14daefcd3e08.tar.gz
yuzu-5e2f23e2b185475c3ce7ae1750ec14daefcd3e08.tar.bz2
yuzu-5e2f23e2b185475c3ce7ae1750ec14daefcd3e08.tar.lz
yuzu-5e2f23e2b185475c3ce7ae1750ec14daefcd3e08.tar.xz
yuzu-5e2f23e2b185475c3ce7ae1750ec14daefcd3e08.tar.zst
yuzu-5e2f23e2b185475c3ce7ae1750ec14daefcd3e08.zip
Diffstat (limited to 'src/core/hle/kernel/svc_wrap.h')
-rw-r--r--src/core/hle/kernel/svc_wrap.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/hle/kernel/svc_wrap.h b/src/core/hle/kernel/svc_wrap.h
index fea9ba5ea..22712e64f 100644
--- a/src/core/hle/kernel/svc_wrap.h
+++ b/src/core/hle/kernel/svc_wrap.h
@@ -64,6 +64,11 @@ void SvcWrap() {
FuncReturn(func(Param(0), (s32)Param(1)).raw);
}
+template <ResultCode func(u64, u32)>
+void SvcWrap() {
+ FuncReturn(func(Param(0), static_cast<u32>(Param(1))).raw);
+}
+
template <ResultCode func(u64*, u64)>
void SvcWrap() {
u64 param_1 = 0;