summaryrefslogtreecommitdiffstats
path: root/src/core/hle/function_wrappers.h
diff options
context:
space:
mode:
authorbunnei <ericbunnie@gmail.com>2014-05-30 02:24:51 +0200
committerbunnei <ericbunnie@gmail.com>2014-05-30 02:24:51 +0200
commit58af0da792adab4bfd77699f9431050290a75b7c (patch)
treec5fd0a1e179989e47110f388a530b3ccd540eec8 /src/core/hle/function_wrappers.h
parentevent: added support for ClearEvent, fixed a bug with CreateEvent, fixed some comments (diff)
downloadyuzu-58af0da792adab4bfd77699f9431050290a75b7c.tar
yuzu-58af0da792adab4bfd77699f9431050290a75b7c.tar.gz
yuzu-58af0da792adab4bfd77699f9431050290a75b7c.tar.bz2
yuzu-58af0da792adab4bfd77699f9431050290a75b7c.tar.lz
yuzu-58af0da792adab4bfd77699f9431050290a75b7c.tar.xz
yuzu-58af0da792adab4bfd77699f9431050290a75b7c.tar.zst
yuzu-58af0da792adab4bfd77699f9431050290a75b7c.zip
Diffstat (limited to 'src/core/hle/function_wrappers.h')
-rw-r--r--src/core/hle/function_wrappers.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/hle/function_wrappers.h b/src/core/hle/function_wrappers.h
index 7b07d8ca8..43f0d15e0 100644
--- a/src/core/hle/function_wrappers.h
+++ b/src/core/hle/function_wrappers.h
@@ -758,3 +758,9 @@ template<int func(void*, void*, u32, u32, s64)> void WrapI_VVUUS64() {
int retval = func(Memory::GetPointer(PARAM(5)), Memory::GetPointer(PARAM(1)), PARAM(2), PARAM(3), (((u64)PARAM(4) << 32) | PARAM(0)));
RETURN(retval);
}
+
+// TODO(bunne): Is this correct? Probably not
+template<int func(u32, u32, u32, u32, s64)> void WrapI_UUUUS64() {
+ int retval = func(PARAM(5), PARAM(1), PARAM(2), PARAM(3), (((u64)PARAM(4) << 32) | PARAM(0)));
+ RETURN(retval);
+}