diff options
| author | 2021-04-09 22:47:34 -0700 | |
|---|---|---|
| committer | 2021-04-09 22:47:34 -0700 | |
| commit | 31c80b8c6faa7681e7b16a4052403281c7f2b9cd (patch) | |
| tree | 01d09ebe1b0b4c9397a8682e3f4a66bcb884ba96 /src/core/hle/service/glue | |
| parent | Merge pull request #6156 from lioncash/lock-discard (diff) | |
| parent | wlan: Update to 12.x (diff) | |
| download | yuzu-31c80b8c6faa7681e7b16a4052403281c7f2b9cd.tar.gz yuzu-31c80b8c6faa7681e7b16a4052403281c7f2b9cd.tar.xz yuzu-31c80b8c6faa7681e7b16a4052403281c7f2b9cd.zip | |
Merge pull request #6171 from german77/services
service: Update service function tables and use proper names
Diffstat (limited to 'src/core/hle/service/glue')
| -rw-r--r-- | src/core/hle/service/glue/arp.cpp | 11 | ||||
| -rw-r--r-- | src/core/hle/service/glue/arp.h | 2 |
2 files changed, 10 insertions, 3 deletions
diff --git a/src/core/hle/service/glue/arp.cpp b/src/core/hle/service/glue/arp.cpp index fc77e7286..322125135 100644 --- a/src/core/hle/service/glue/arp.cpp +++ b/src/core/hle/service/glue/arp.cpp | |||
| @@ -41,6 +41,12 @@ ARP_R::ARP_R(Core::System& system_, const ARPManager& manager_) | |||
| 41 | {1, &ARP_R::GetApplicationLaunchPropertyWithApplicationId, "GetApplicationLaunchPropertyWithApplicationId"}, | 41 | {1, &ARP_R::GetApplicationLaunchPropertyWithApplicationId, "GetApplicationLaunchPropertyWithApplicationId"}, |
| 42 | {2, &ARP_R::GetApplicationControlProperty, "GetApplicationControlProperty"}, | 42 | {2, &ARP_R::GetApplicationControlProperty, "GetApplicationControlProperty"}, |
| 43 | {3, &ARP_R::GetApplicationControlPropertyWithApplicationId, "GetApplicationControlPropertyWithApplicationId"}, | 43 | {3, &ARP_R::GetApplicationControlPropertyWithApplicationId, "GetApplicationControlPropertyWithApplicationId"}, |
| 44 | {4, nullptr, "GetApplicationInstanceUnregistrationNotifier"}, | ||
| 45 | {5, nullptr, "ListApplicationInstanceId"}, | ||
| 46 | {6, nullptr, "GetMicroApplicationInstanceId"}, | ||
| 47 | {7, nullptr, "GetApplicationCertificate"}, | ||
| 48 | {9998, nullptr, "GetPreomiaApplicationLaunchProperty"}, | ||
| 49 | {9999, nullptr, "GetPreomiaApplicationControlProperty"}, | ||
| 44 | }; | 50 | }; |
| 45 | // clang-format on | 51 | // clang-format on |
| 46 | 52 | ||
| @@ -243,7 +249,8 @@ ARP_W::ARP_W(Core::System& system_, ARPManager& manager_) | |||
| 243 | // clang-format off | 249 | // clang-format off |
| 244 | static const FunctionInfo functions[] = { | 250 | static const FunctionInfo functions[] = { |
| 245 | {0, &ARP_W::AcquireRegistrar, "AcquireRegistrar"}, | 251 | {0, &ARP_W::AcquireRegistrar, "AcquireRegistrar"}, |
| 246 | {1, &ARP_W::DeleteProperties, "DeleteProperties"}, | 252 | {1, &ARP_W::UnregisterApplicationInstance , "UnregisterApplicationInstance "}, |
| 253 | {2, nullptr, "AcquireUpdater"}, | ||
| 247 | }; | 254 | }; |
| 248 | // clang-format on | 255 | // clang-format on |
| 249 | 256 | ||
| @@ -270,7 +277,7 @@ void ARP_W::AcquireRegistrar(Kernel::HLERequestContext& ctx) { | |||
| 270 | rb.PushIpcInterface(registrar); | 277 | rb.PushIpcInterface(registrar); |
| 271 | } | 278 | } |
| 272 | 279 | ||
| 273 | void ARP_W::DeleteProperties(Kernel::HLERequestContext& ctx) { | 280 | void ARP_W::UnregisterApplicationInstance(Kernel::HLERequestContext& ctx) { |
| 274 | IPC::RequestParser rp{ctx}; | 281 | IPC::RequestParser rp{ctx}; |
| 275 | const auto process_id = rp.PopRaw<u64>(); | 282 | const auto process_id = rp.PopRaw<u64>(); |
| 276 | 283 | ||
diff --git a/src/core/hle/service/glue/arp.h b/src/core/hle/service/glue/arp.h index 34b412e26..0df3c5e1f 100644 --- a/src/core/hle/service/glue/arp.h +++ b/src/core/hle/service/glue/arp.h | |||
| @@ -32,7 +32,7 @@ public: | |||
| 32 | 32 | ||
| 33 | private: | 33 | private: |
| 34 | void AcquireRegistrar(Kernel::HLERequestContext& ctx); | 34 | void AcquireRegistrar(Kernel::HLERequestContext& ctx); |
| 35 | void DeleteProperties(Kernel::HLERequestContext& ctx); | 35 | void UnregisterApplicationInstance(Kernel::HLERequestContext& ctx); |
| 36 | 36 | ||
| 37 | ARPManager& manager; | 37 | ARPManager& manager; |
| 38 | std::shared_ptr<IRegistrar> registrar; | 38 | std::shared_ptr<IRegistrar> registrar; |