diff options
| author | 2014-04-24 22:16:54 -0400 | |
|---|---|---|
| committer | 2014-04-24 22:16:54 -0400 | |
| commit | cd0664eb77e14a801fe1f15be50c3a90b98ee5ef (patch) | |
| tree | cddeb131b3ff7e43cc638ff0b8817b746b284491 /src/core/hle/service/apt.cpp | |
| parent | removed "COVERAGE_" from "GCC_COVERAGE_COMPILE_FLAGS" (diff) | |
| download | yuzu-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.cpp | 6 |
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 | ||
| 14 | namespace APT_U { | 14 | namespace APT_U { |
| 15 | 15 | ||
| 16 | void Initialize() { | 16 | void Initialize(Service::Interface* self) { |
| 17 | NOTICE_LOG(OSHLE, "APT_U::Sync - Initialize"); | 17 | NOTICE_LOG(OSHLE, "APT_U::Sync - Initialize"); |
| 18 | } | 18 | } |
| 19 | 19 | ||
| 20 | void GetLockHandle() { | 20 | void 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 | ||
| 25 | const HLE::FunctionDef FunctionTable[] = { | 25 | const 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"}, |