aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/hle/function_wrappers.h
diff options
context:
space:
mode:
authorGravatar bunnei <ericbunnie@gmail.com>2014-06-01 10:41:41 -0400
committerGravatar bunnei <ericbunnie@gmail.com>2014-06-01 10:41:41 -0400
commit2f55c9e55bb8b505dd2faefb74cad5a8306b7a2a (patch)
tree856badd67f8545d843349121431864aa130ddef8 /src/core/hle/function_wrappers.h
parent7dd18a8df97f7497447ff121d8ad07c5a708a5c5 (diff)
svc: added missing function wrapper for SleepThread
Diffstat (limited to 'src/core/hle/function_wrappers.h')
-rw-r--r--src/core/hle/function_wrappers.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/hle/function_wrappers.h b/src/core/hle/function_wrappers.h
index 43f0d15e..7eb62fc4 100644
--- a/src/core/hle/function_wrappers.h
+++ b/src/core/hle/function_wrappers.h
@@ -642,6 +642,10 @@ template<void func(const char*)> void WrapV_C() {
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() {
func(Memory::GetCharPointer(PARAM(0)), PARAM(1));
}