summaryrefslogtreecommitdiff
path: root/src/core/hle/function_wrappers.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hle/function_wrappers.h')
-rw-r--r--src/core/hle/function_wrappers.h15
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() {
151 FuncReturn(func(PARAM(0)).raw); 151 FuncReturn(func(PARAM(0)).raw);
152} 152}
153 153
154template <ResultCode func(s64*, u32, u32*, u32)>
155void Wrap() {
156 FuncReturn(func((s64*)Memory::GetPointer(PARAM(0)), PARAM(1),
157 (u32*)Memory::GetPointer(PARAM(2)), (s32)PARAM(3))
158 .raw);
159}
160
161template <ResultCode func(u32*, const char*)>
162void Wrap() {
163 u32 param_1 = 0;
164 u32 retval = func(&param_1, (char*)Memory::GetPointer(PARAM(1))).raw;
165 Core::CPU().SetReg(1, param_1);
166 FuncReturn(retval);
167}
168
169template <ResultCode func(u32*, s32, s32)> 154template <ResultCode func(u32*, s32, s32)>
170void Wrap() { 155void Wrap() {
171 u32 param_1 = 0; 156 u32 param_1 = 0;