diff options
author | bunnei <bunneidev@gmail.com> | 2018-01-12 03:59:31 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-01-12 03:59:31 +0100 |
commit | 97ef21e166a95419b97d164c6969ffaf1faacfb0 (patch) | |
tree | c3efc75f80d6913bbd0c06805941d59ad9db499a /src/core/hle/kernel/svc_wrap.h | |
parent | nvdisp_disp0: Call SwapBuffers to render framebuffer. (diff) | |
download | yuzu-97ef21e166a95419b97d164c6969ffaf1faacfb0.tar yuzu-97ef21e166a95419b97d164c6969ffaf1faacfb0.tar.gz yuzu-97ef21e166a95419b97d164c6969ffaf1faacfb0.tar.bz2 yuzu-97ef21e166a95419b97d164c6969ffaf1faacfb0.tar.lz yuzu-97ef21e166a95419b97d164c6969ffaf1faacfb0.tar.xz yuzu-97ef21e166a95419b97d164c6969ffaf1faacfb0.tar.zst yuzu-97ef21e166a95419b97d164c6969ffaf1faacfb0.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/kernel/svc_wrap.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/core/hle/kernel/svc_wrap.h b/src/core/hle/kernel/svc_wrap.h index 31cf71a0d..ffc323bce 100644 --- a/src/core/hle/kernel/svc_wrap.h +++ b/src/core/hle/kernel/svc_wrap.h @@ -149,6 +149,14 @@ void SvcWrap() { } //////////////////////////////////////////////////////////////////////////////////////////////////// +// Function wrappers that return type u64 + +template <u64 func()> +void SvcWrap() { + FuncReturn(func()); +} + +//////////////////////////////////////////////////////////////////////////////////////////////////// /// Function wrappers that return type void template <void func()> |