summaryrefslogtreecommitdiff
path: root/src/core/hle/service/apt.cpp
diff options
context:
space:
mode:
authorGravatar bunnei2014-04-27 21:25:16 -0400
committerGravatar bunnei2014-04-27 21:25:16 -0400
commit438dba40c1def91e9de252ef05f8650464e5c0c2 (patch)
tree8f323d6095dfefe9d00f34cc4d7229be58a9f409 /src/core/hle/service/apt.cpp
parentMerge pull request #4 from cpp3ds/master (diff)
parentremoved DISALLOW_COPY_AND_ASSIGN in favor of NonCopyable class (diff)
downloadyuzu-438dba40c1def91e9de252ef05f8650464e5c0c2.tar.gz
yuzu-438dba40c1def91e9de252ef05f8650464e5c0c2.tar.xz
yuzu-438dba40c1def91e9de252ef05f8650464e5c0c2.zip
Merge branch 'hle-interface-updates'
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"},