summaryrefslogtreecommitdiff
path: root/src/core/hle/service/apt.cpp
diff options
context:
space:
mode:
authorGravatar bunnei2014-04-24 22:16:54 -0400
committerGravatar bunnei2014-04-24 22:16:54 -0400
commitcd0664eb77e14a801fe1f15be50c3a90b98ee5ef (patch)
treecddeb131b3ff7e43cc638ff0b8817b746b284491 /src/core/hle/service/apt.cpp
parentremoved "COVERAGE_" from "GCC_COVERAGE_COMPILE_FLAGS" (diff)
downloadyuzu-cd0664eb77e14a801fe1f15be50c3a90b98ee5ef.tar.gz
yuzu-cd0664eb77e14a801fe1f15be50c3a90b98ee5ef.tar.xz
yuzu-cd0664eb77e14a801fe1f15be50c3a90b98ee5ef.zip
- refactored how service functions are called
- added option to create/delete service handles
Diffstat (limited to 'src/core/hle/service/apt.cpp')
-rw-r--r--src/core/hle/service/apt.cpp6
1 files changed, 3 insertions, 3 deletions
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 @@
13 13
14namespace APT_U { 14namespace APT_U {
15 15
16void Initialize() { 16void Initialize(Service::Interface* self) {
17 NOTICE_LOG(OSHLE, "APT_U::Sync - Initialize"); 17 NOTICE_LOG(OSHLE, "APT_U::Sync - Initialize");
18} 18}
19 19
20void GetLockHandle() { 20void GetLockHandle(Service::Interface* self) {
21 u32* cmd_buff = (u32*)HLE::GetPointer(HLE::CMD_BUFFER_ADDR + Service::kCommandHeaderOffset); 21 u32* cmd_buff = (u32*)HLE::GetPointer(HLE::CMD_BUFFER_ADDR + Service::kCommandHeaderOffset);
22 cmd_buff[5] = 0x00000000; // TODO: This should be an actual mutex handle 22 cmd_buff[5] = 0x00000000; // TODO: This should be an actual mutex handle
23} 23}
24 24
25const HLE::FunctionDef FunctionTable[] = { 25const Interface::FunctionInfo FunctionTable[] = {
26 {0x00010040, GetLockHandle, "GetLockHandle"}, 26 {0x00010040, GetLockHandle, "GetLockHandle"},
27 {0x00020080, Initialize, "Initialize"}, 27 {0x00020080, Initialize, "Initialize"},
28 {0x00030040, NULL, "Enable"}, 28 {0x00030040, NULL, "Enable"},