From 07044651ef2644451dc4f78045856ad078cb69fe Mon Sep 17 00:00:00 2001 From: Subv Date: Thu, 4 Dec 2014 14:45:47 -0500 Subject: SVC: Implemented the Timer service calls. --- src/core/hle/function_wrappers.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/core/hle/function_wrappers.h') diff --git a/src/core/hle/function_wrappers.h b/src/core/hle/function_wrappers.h index 0f822f84..8eb4f252 100644 --- a/src/core/hle/function_wrappers.h +++ b/src/core/hle/function_wrappers.h @@ -135,6 +135,12 @@ template void Wrap() { FuncReturn(retval); } +template void Wrap() { + s64 param1 = ((u64)PARAM(3) << 32) | PARAM(2); + s64 param2 = ((u64)PARAM(4) << 32) | PARAM(1); + FuncReturn(func(PARAM(0), param1, param2)); +} + //////////////////////////////////////////////////////////////////////////////////////////////////// // Function wrappers that return type u32 -- cgit v1.2.3