summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar german772021-04-08 12:58:23 -0600
committerGravatar german772021-04-08 19:40:25 -0600
commita4e28215304a612e32c66f068243c759e7fee25e (patch)
tree3985e4defdab92b076f979f1ca4f33b09128e115 /src
parentcaps_u: Update to 12.x (diff)
downloadyuzu-a4e28215304a612e32c66f068243c759e7fee25e.tar.gz
yuzu-a4e28215304a612e32c66f068243c759e7fee25e.tar.xz
yuzu-a4e28215304a612e32c66f068243c759e7fee25e.zip
arp: Use proper names, update to 12.x
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/service/glue/arp.cpp11
-rw-r--r--src/core/hle/service/glue/arp.h2
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
273void ARP_W::DeleteProperties(Kernel::HLERequestContext& ctx) { 280void 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
33private: 33private:
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;