From cd0664eb77e14a801fe1f15be50c3a90b98ee5ef Mon Sep 17 00:00:00 2001 From: bunnei Date: Thu, 24 Apr 2014 22:16:54 -0400 Subject: - refactored how service functions are called - added option to create/delete service handles --- src/core/hle/service/apt.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/core/hle/service/apt.cpp') diff --git a/src/core/hle/service/apt.cpp b/src/core/hle/service/apt.cpp index 4f8d7248d..4a1e8c992 100644 --- a/src/core/hle/service/apt.cpp +++ b/src/core/hle/service/apt.cpp @@ -13,16 +13,16 @@ namespace APT_U { -void Initialize() { +void Initialize(Service::Interface* self) { NOTICE_LOG(OSHLE, "APT_U::Sync - Initialize"); } -void GetLockHandle() { +void GetLockHandle(Service::Interface* self) { u32* cmd_buff = (u32*)HLE::GetPointer(HLE::CMD_BUFFER_ADDR + Service::kCommandHeaderOffset); cmd_buff[5] = 0x00000000; // TODO: This should be an actual mutex handle } -const HLE::FunctionDef FunctionTable[] = { +const Interface::FunctionInfo FunctionTable[] = { {0x00010040, GetLockHandle, "GetLockHandle"}, {0x00020080, Initialize, "Initialize"}, {0x00030040, NULL, "Enable"}, -- cgit v1.2.3