summaryrefslogtreecommitdiffstats
path: root/src/core/hle/function_wrappers.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2016-01-15 04:27:36 +0100
committerbunnei <bunneidev@gmail.com>2016-01-15 04:27:36 +0100
commit190b1bbf1f016af01168d01be851b5829ee4a149 (patch)
treed55fd4d616c0e516803fc64c9eacdd025a9dc8f2 /src/core/hle/function_wrappers.h
parentMerge pull request #1196 from linkmauve/khr_debug (diff)
parentHLE/SVC: Implement UnmapMemoryBlock. (diff)
downloadyuzu-190b1bbf1f016af01168d01be851b5829ee4a149.tar
yuzu-190b1bbf1f016af01168d01be851b5829ee4a149.tar.gz
yuzu-190b1bbf1f016af01168d01be851b5829ee4a149.tar.bz2
yuzu-190b1bbf1f016af01168d01be851b5829ee4a149.tar.lz
yuzu-190b1bbf1f016af01168d01be851b5829ee4a149.tar.xz
yuzu-190b1bbf1f016af01168d01be851b5829ee4a149.tar.zst
yuzu-190b1bbf1f016af01168d01be851b5829ee4a149.zip
Diffstat (limited to 'src/core/hle/function_wrappers.h')
-rw-r--r--src/core/hle/function_wrappers.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/hle/function_wrappers.h b/src/core/hle/function_wrappers.h
index 3501e45db..882a51df1 100644
--- a/src/core/hle/function_wrappers.h
+++ b/src/core/hle/function_wrappers.h
@@ -188,6 +188,10 @@ template<ResultCode func(s64*, Handle, u32)> void Wrap() {
FuncReturn(retval);
}
+template<ResultCode func(Handle, u32)> void Wrap() {
+ FuncReturn(func(PARAM(0), PARAM(1)).raw);
+}
+
////////////////////////////////////////////////////////////////////////////////////////////////////
// Function wrappers that return type u32