diff options
author | bunnei <bunneidev@gmail.com> | 2018-09-30 21:32:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-30 21:32:27 +0200 |
commit | 5e2f23e2b185475c3ce7ae1750ec14daefcd3e08 (patch) | |
tree | ac2c341c94976552acd507359e8853105193d288 /src/core/hle/kernel/svc_wrap.h | |
parent | Merge pull request #1418 from FearlessTobi/port-4269 (diff) | |
parent | kernel/svc: Implement svcGetThreadContext() (diff) | |
download | yuzu-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.h | 5 |
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; |