aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/hle/function_wrappers.h
diff options
context:
space:
mode:
authorGravatar bunnei <ericbunnie@gmail.com>2014-05-17 23:37:25 -0400
committerGravatar bunnei <ericbunnie@gmail.com>2014-05-17 23:37:25 -0400
commit6a6c7eeccbf2e9a766ad6b942f25b3ef6e008944 (patch)
treefe4da52d576ddd7aec12e250e14e1d77448035cc /src/core/hle/function_wrappers.h
parentfbc04ad0c7c2bafde1b7b50957799c7bbab8f77b (diff)
added stubbed function for WaitSynchronizationN
Diffstat (limited to 'src/core/hle/function_wrappers.h')
-rw-r--r--src/core/hle/function_wrappers.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/core/hle/function_wrappers.h b/src/core/hle/function_wrappers.h
index 61790e5a..24cc74fc 100644
--- a/src/core/hle/function_wrappers.h
+++ b/src/core/hle/function_wrappers.h
@@ -750,6 +750,11 @@ template<int func(void*, u32, u32, u32, u32, u32)> void WrapI_VUUUUU(){
}
template<int func(u32, s64)> void WrapI_US64() {
- int retval = func(PARAM(0), PARAM64(2));
+ int retval = func(PARAM(0), PARAM64(1));
+ RETURN(retval);
+}
+
+template<int func(void*, void*, u32, u32, s64)> void WrapI_VVUUS64() {
+ int retval = func(Memory::GetPointer(PARAM(0)), Memory::GetPointer(PARAM(1)), PARAM(2), PARAM(3), PARAM(4));
RETURN(retval);
}