diff options
author | Subv <subv2112@gmail.com> | 2017-10-04 19:05:13 +0200 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2017-10-04 21:03:59 +0200 |
commit | 7b09b30ef11d1d4001a50bbb91abdfb86b954ce2 (patch) | |
tree | 885601c5021a58356e2a5c78b06b5a76444dc8b9 /src/core/hle/function_wrappers.h | |
parent | SVC: Replace GetPointer usage with ReadBlock in OutputDebugString. (diff) | |
download | yuzu-7b09b30ef11d1d4001a50bbb91abdfb86b954ce2.tar yuzu-7b09b30ef11d1d4001a50bbb91abdfb86b954ce2.tar.gz yuzu-7b09b30ef11d1d4001a50bbb91abdfb86b954ce2.tar.bz2 yuzu-7b09b30ef11d1d4001a50bbb91abdfb86b954ce2.tar.lz yuzu-7b09b30ef11d1d4001a50bbb91abdfb86b954ce2.tar.xz yuzu-7b09b30ef11d1d4001a50bbb91abdfb86b954ce2.tar.zst yuzu-7b09b30ef11d1d4001a50bbb91abdfb86b954ce2.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/function_wrappers.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/core/hle/function_wrappers.h b/src/core/hle/function_wrappers.h index cb0b430ee..a982b2b54 100644 --- a/src/core/hle/function_wrappers.h +++ b/src/core/hle/function_wrappers.h @@ -151,21 +151,6 @@ void Wrap() { FuncReturn(func(PARAM(0)).raw); } -template <ResultCode func(s64*, u32, u32*, u32)> -void Wrap() { - FuncReturn(func((s64*)Memory::GetPointer(PARAM(0)), PARAM(1), - (u32*)Memory::GetPointer(PARAM(2)), (s32)PARAM(3)) - .raw); -} - -template <ResultCode func(u32*, const char*)> -void Wrap() { - u32 param_1 = 0; - u32 retval = func(¶m_1, (char*)Memory::GetPointer(PARAM(1))).raw; - Core::CPU().SetReg(1, param_1); - FuncReturn(retval); -} - template <ResultCode func(u32*, s32, s32)> void Wrap() { u32 param_1 = 0; |