summaryrefslogtreecommitdiffstats
path: root/src/core/hle
diff options
context:
space:
mode:
authorbunnei <ericbunnie@gmail.com>2014-06-01 16:41:41 +0200
committerbunnei <ericbunnie@gmail.com>2014-06-01 16:41:41 +0200
commit2f55c9e55bb8b505dd2faefb74cad5a8306b7a2a (patch)
tree856badd67f8545d843349121431864aa130ddef8 /src/core/hle
parentgsp: always pass through synchronization barrier for commands (diff)
downloadyuzu-2f55c9e55bb8b505dd2faefb74cad5a8306b7a2a.tar
yuzu-2f55c9e55bb8b505dd2faefb74cad5a8306b7a2a.tar.gz
yuzu-2f55c9e55bb8b505dd2faefb74cad5a8306b7a2a.tar.bz2
yuzu-2f55c9e55bb8b505dd2faefb74cad5a8306b7a2a.tar.lz
yuzu-2f55c9e55bb8b505dd2faefb74cad5a8306b7a2a.tar.xz
yuzu-2f55c9e55bb8b505dd2faefb74cad5a8306b7a2a.tar.zst
yuzu-2f55c9e55bb8b505dd2faefb74cad5a8306b7a2a.zip
Diffstat (limited to 'src/core/hle')
-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 43f0d15e0..7eb62fc48 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));
}