yuzu-emu
/
yuzu
Archived
1
0
Fork 0

added a new function wrapper

This commit is contained in:
bunnei 2014-04-16 22:19:23 -04:00
parent d4411acfd0
commit f0797dcf1f
1 changed files with 5 additions and 0 deletions

View File

@ -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);