From e9a1f29e936e8da5899c360394f37c7646150e3f Mon Sep 17 00:00:00 2001 From: Chloe Marcec Date: Sat, 27 Mar 2021 02:03:18 +1100 Subject: pctl: Rework how pctl works to be more accurate Introduces the usage of compatibilities to allow it the module to be closer to how it works on hardware. --- src/core/hle/service/pctl/pctl.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/core/hle/service/pctl/pctl.cpp') diff --git a/src/core/hle/service/pctl/pctl.cpp b/src/core/hle/service/pctl/pctl.cpp index 16dd34f90..e4d155c86 100644 --- a/src/core/hle/service/pctl/pctl.cpp +++ b/src/core/hle/service/pctl/pctl.cpp @@ -6,8 +6,9 @@ namespace Service::PCTL { -PCTL::PCTL(Core::System& system_, std::shared_ptr module_, const char* name) - : Interface{system_, std::move(module_), name} { +PCTL::PCTL(Core::System& system_, std::shared_ptr module_, const char* name, + Capability capability) + : Interface{system_, std::move(module_), name, capability} { static const FunctionInfo functions[] = { {0, &PCTL::CreateService, "CreateService"}, {1, &PCTL::CreateServiceWithoutInitialize, "CreateServiceWithoutInitialize"}, -- cgit v1.2.3