diff options
author | bunnei <ericbunnie@gmail.com> | 2014-06-01 16:41:41 +0200 |
---|---|---|
committer | bunnei <ericbunnie@gmail.com> | 2014-06-01 16:41:41 +0200 |
commit | 2f55c9e55bb8b505dd2faefb74cad5a8306b7a2a (patch) | |
tree | 856badd67f8545d843349121431864aa130ddef8 | |
parent | gsp: always pass through synchronization barrier for commands (diff) | |
download | yuzu-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 |
-rw-r--r-- | src/core/hle/function_wrappers.h | 4 |
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)); } |