summaryrefslogtreecommitdiffstats
path: root/src/core/hle/function_wrappers.h
diff options
context:
space:
mode:
authorbunnei <ericbunnie@gmail.com>2014-05-07 05:34:20 +0200
committerbunnei <ericbunnie@gmail.com>2014-05-07 05:34:20 +0200
commitde36d82ddec86eb0aa3384af935a47fe2879935e (patch)
tree1bceef4f60c38afbed6c0ef323fb1b1e9132e36a /src/core/hle/function_wrappers.h
parentadded mem_map read for config_mem (diff)
downloadyuzu-de36d82ddec86eb0aa3384af935a47fe2879935e.tar
yuzu-de36d82ddec86eb0aa3384af935a47fe2879935e.tar.gz
yuzu-de36d82ddec86eb0aa3384af935a47fe2879935e.tar.bz2
yuzu-de36d82ddec86eb0aa3384af935a47fe2879935e.tar.lz
yuzu-de36d82ddec86eb0aa3384af935a47fe2879935e.tar.xz
yuzu-de36d82ddec86eb0aa3384af935a47fe2879935e.tar.zst
yuzu-de36d82ddec86eb0aa3384af935a47fe2879935e.zip
Diffstat (limited to 'src/core/hle/function_wrappers.h')
-rw-r--r--src/core/hle/function_wrappers.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/core/hle/function_wrappers.h b/src/core/hle/function_wrappers.h
index 53bfafa78..18b01b14b 100644
--- a/src/core/hle/function_wrappers.h
+++ b/src/core/hle/function_wrappers.h
@@ -729,7 +729,17 @@ template<int func(int, const char *, u32, void *, int, int, int)> void WrapI_ICU
RETURN(retval);
}
-template<int func(void *, u32, u32, u32, u32, u32)> void WrapI_VUUUUU(){
+template<int func(void*, u32)> void WrapI_VU(){
+ u32 retval = func(Memory::GetPointer(PARAM(0)), PARAM(1));
+ RETURN(retval);
+}
+
+template<int func(void*, u32, void*, int)> void WrapI_VUVI(){
+ u32 retval = func(Memory::GetPointer(PARAM(0)), PARAM(1), Memory::GetPointer(PARAM(2)), PARAM(3));
+ RETURN(retval);
+}
+
+template<int func(void*, u32, u32, u32, u32, u32)> void WrapI_VUUUUU(){
u32 retval = func(Memory::GetPointer(PARAM(0)), PARAM(1), PARAM(2), PARAM(3), PARAM(4), PARAM(5));
RETURN(retval);
}