citra-emu
/
citra-canary
Archived
1
0
Fork 0

svc: added missing function wrapper for SleepThread

This commit is contained in:
bunnei 2014-06-01 10:41:41 -04:00
parent 7dd18a8df9
commit 2f55c9e55b
1 changed files with 4 additions and 0 deletions

View File

@ -642,6 +642,10 @@ template<void func(const char*)> void WrapV_C() {
func(Memory::GetCharPointer(PARAM(0))); func(Memory::GetCharPointer(PARAM(0)));
} }
template<void func(s64)> void WrapV_S64() {
func(((s64)PARAM(1) << 32) | PARAM(0));
}
template<void func(const char *, int)> void WrapV_CI() { template<void func(const char *, int)> void WrapV_CI() {
func(Memory::GetCharPointer(PARAM(0)), PARAM(1)); func(Memory::GetCharPointer(PARAM(0)), PARAM(1));
} }