added a new function wrapper

merge-requests/60/head
bunnei 2014-04-16 22:19:23 +07:00
parent d4411acfd0
commit f0797dcf1f
1 changed files with 5 additions and 0 deletions

@ -725,6 +725,11 @@ template<int func(int, const char *, u32, void *, int, int, int)> void WrapI_ICU
RETURN(retval); 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);
}
template<int func(u32, s64)> void WrapI_US64() { template<int func(u32, s64)> void WrapI_US64() {
int retval = func(PARAM(0), PARAM64(2)); int retval = func(PARAM(0), PARAM64(2));
RETURN(retval); RETURN(retval);