summaryrefslogtreecommitdiffstats
path: root/src/core/hle/function_wrappers.h
diff options
context:
space:
mode:
authorbunnei <ericbunnie@gmail.com>2014-05-16 02:17:30 +0200
committerbunnei <ericbunnie@gmail.com>2014-05-16 02:17:30 +0200
commit4fba4f36bf20c2721e2602c450eafcc1117ac643 (patch)
treeed44db9fd187dde4d1b3648ce87dace024b86a0e /src/core/hle/function_wrappers.h
parentadded memory mapped region for system mem - sdk demos load a segment here on ELF load (diff)
downloadyuzu-4fba4f36bf20c2721e2602c450eafcc1117ac643.tar
yuzu-4fba4f36bf20c2721e2602c450eafcc1117ac643.tar.gz
yuzu-4fba4f36bf20c2721e2602c450eafcc1117ac643.tar.bz2
yuzu-4fba4f36bf20c2721e2602c450eafcc1117ac643.tar.lz
yuzu-4fba4f36bf20c2721e2602c450eafcc1117ac643.tar.xz
yuzu-4fba4f36bf20c2721e2602c450eafcc1117ac643.tar.zst
yuzu-4fba4f36bf20c2721e2602c450eafcc1117ac643.zip
Diffstat (limited to 'src/core/hle/function_wrappers.h')
-rw-r--r--src/core/hle/function_wrappers.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/hle/function_wrappers.h b/src/core/hle/function_wrappers.h
index 83be7648b..61790e5a3 100644
--- a/src/core/hle/function_wrappers.h
+++ b/src/core/hle/function_wrappers.h
@@ -734,6 +734,11 @@ template<int func(void*, u32)> void WrapI_VU(){
RETURN(retval);
}
+template<int func(void*, void*, u32)> void WrapI_VVU(){
+ u32 retval = func(Memory::GetPointer(PARAM(0)), Memory::GetPointer(PARAM(1)), PARAM(2));
+ 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);