mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-05 06:22:45 +01:00
arp: Use proper names, update to 12.x
This commit is contained in:
parent
a83f0f7154
commit
a4e2821530
2 changed files with 10 additions and 3 deletions
|
@ -41,6 +41,12 @@ ARP_R::ARP_R(Core::System& system_, const ARPManager& manager_)
|
||||||
{1, &ARP_R::GetApplicationLaunchPropertyWithApplicationId, "GetApplicationLaunchPropertyWithApplicationId"},
|
{1, &ARP_R::GetApplicationLaunchPropertyWithApplicationId, "GetApplicationLaunchPropertyWithApplicationId"},
|
||||||
{2, &ARP_R::GetApplicationControlProperty, "GetApplicationControlProperty"},
|
{2, &ARP_R::GetApplicationControlProperty, "GetApplicationControlProperty"},
|
||||||
{3, &ARP_R::GetApplicationControlPropertyWithApplicationId, "GetApplicationControlPropertyWithApplicationId"},
|
{3, &ARP_R::GetApplicationControlPropertyWithApplicationId, "GetApplicationControlPropertyWithApplicationId"},
|
||||||
|
{4, nullptr, "GetApplicationInstanceUnregistrationNotifier"},
|
||||||
|
{5, nullptr, "ListApplicationInstanceId"},
|
||||||
|
{6, nullptr, "GetMicroApplicationInstanceId"},
|
||||||
|
{7, nullptr, "GetApplicationCertificate"},
|
||||||
|
{9998, nullptr, "GetPreomiaApplicationLaunchProperty"},
|
||||||
|
{9999, nullptr, "GetPreomiaApplicationControlProperty"},
|
||||||
};
|
};
|
||||||
// clang-format on
|
// clang-format on
|
||||||
|
|
||||||
|
@ -243,7 +249,8 @@ ARP_W::ARP_W(Core::System& system_, ARPManager& manager_)
|
||||||
// clang-format off
|
// clang-format off
|
||||||
static const FunctionInfo functions[] = {
|
static const FunctionInfo functions[] = {
|
||||||
{0, &ARP_W::AcquireRegistrar, "AcquireRegistrar"},
|
{0, &ARP_W::AcquireRegistrar, "AcquireRegistrar"},
|
||||||
{1, &ARP_W::DeleteProperties, "DeleteProperties"},
|
{1, &ARP_W::UnregisterApplicationInstance , "UnregisterApplicationInstance "},
|
||||||
|
{2, nullptr, "AcquireUpdater"},
|
||||||
};
|
};
|
||||||
// clang-format on
|
// clang-format on
|
||||||
|
|
||||||
|
@ -270,7 +277,7 @@ void ARP_W::AcquireRegistrar(Kernel::HLERequestContext& ctx) {
|
||||||
rb.PushIpcInterface(registrar);
|
rb.PushIpcInterface(registrar);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ARP_W::DeleteProperties(Kernel::HLERequestContext& ctx) {
|
void ARP_W::UnregisterApplicationInstance(Kernel::HLERequestContext& ctx) {
|
||||||
IPC::RequestParser rp{ctx};
|
IPC::RequestParser rp{ctx};
|
||||||
const auto process_id = rp.PopRaw<u64>();
|
const auto process_id = rp.PopRaw<u64>();
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,7 @@ public:
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void AcquireRegistrar(Kernel::HLERequestContext& ctx);
|
void AcquireRegistrar(Kernel::HLERequestContext& ctx);
|
||||||
void DeleteProperties(Kernel::HLERequestContext& ctx);
|
void UnregisterApplicationInstance(Kernel::HLERequestContext& ctx);
|
||||||
|
|
||||||
ARPManager& manager;
|
ARPManager& manager;
|
||||||
std::shared_ptr<IRegistrar> registrar;
|
std::shared_ptr<IRegistrar> registrar;
|
||||||
|
|
Loading…
Reference in a new issue