- added SVC stubs for QueryMemory and GetThreadId

- added SVC structs MemoryInfo and PageInfo
This commit is contained in:
bunnei 2014-05-15 20:17:30 -04:00
parent 4910b6f336
commit 4fba4f36bf
3 changed files with 30 additions and 2 deletions

View file

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