diff options
Diffstat (limited to 'src/core/hle/service/pctl')
| -rw-r--r-- | src/core/hle/service/pctl/module.cpp | 2 | ||||
| -rw-r--r-- | src/core/hle/service/pctl/module.h | 1 | ||||
| -rw-r--r-- | src/core/hle/service/pctl/pctl.cpp | 2 | ||||
| -rw-r--r-- | src/core/hle/service/pctl/pctl.h | 1 |
4 files changed, 6 insertions, 0 deletions
diff --git a/src/core/hle/service/pctl/module.cpp b/src/core/hle/service/pctl/module.cpp index 6cc3b1992..4fd185f69 100644 --- a/src/core/hle/service/pctl/module.cpp +++ b/src/core/hle/service/pctl/module.cpp | |||
| @@ -142,6 +142,8 @@ void Module::Interface::CreateServiceWithoutInitialize(Kernel::HLERequestContext | |||
| 142 | Module::Interface::Interface(std::shared_ptr<Module> module, const char* name) | 142 | Module::Interface::Interface(std::shared_ptr<Module> module, const char* name) |
| 143 | : ServiceFramework(name), module(std::move(module)) {} | 143 | : ServiceFramework(name), module(std::move(module)) {} |
| 144 | 144 | ||
| 145 | Module::Interface::~Interface() = default; | ||
| 146 | |||
| 145 | void InstallInterfaces(SM::ServiceManager& service_manager) { | 147 | void InstallInterfaces(SM::ServiceManager& service_manager) { |
| 146 | auto module = std::make_shared<Module>(); | 148 | auto module = std::make_shared<Module>(); |
| 147 | std::make_shared<PCTL>(module, "pctl")->InstallAsService(service_manager); | 149 | std::make_shared<PCTL>(module, "pctl")->InstallAsService(service_manager); |
diff --git a/src/core/hle/service/pctl/module.h b/src/core/hle/service/pctl/module.h index e7d492760..3e449110d 100644 --- a/src/core/hle/service/pctl/module.h +++ b/src/core/hle/service/pctl/module.h | |||
| @@ -13,6 +13,7 @@ public: | |||
| 13 | class Interface : public ServiceFramework<Interface> { | 13 | class Interface : public ServiceFramework<Interface> { |
| 14 | public: | 14 | public: |
| 15 | explicit Interface(std::shared_ptr<Module> module, const char* name); | 15 | explicit Interface(std::shared_ptr<Module> module, const char* name); |
| 16 | ~Interface() override; | ||
| 16 | 17 | ||
| 17 | void CreateService(Kernel::HLERequestContext& ctx); | 18 | void CreateService(Kernel::HLERequestContext& ctx); |
| 18 | void CreateServiceWithoutInitialize(Kernel::HLERequestContext& ctx); | 19 | void CreateServiceWithoutInitialize(Kernel::HLERequestContext& ctx); |
diff --git a/src/core/hle/service/pctl/pctl.cpp b/src/core/hle/service/pctl/pctl.cpp index de2741d66..af9d1433a 100644 --- a/src/core/hle/service/pctl/pctl.cpp +++ b/src/core/hle/service/pctl/pctl.cpp | |||
| @@ -14,4 +14,6 @@ PCTL::PCTL(std::shared_ptr<Module> module, const char* name) | |||
| 14 | }; | 14 | }; |
| 15 | RegisterHandlers(functions); | 15 | RegisterHandlers(functions); |
| 16 | } | 16 | } |
| 17 | |||
| 18 | PCTL::~PCTL() = default; | ||
| 17 | } // namespace Service::PCTL | 19 | } // namespace Service::PCTL |
diff --git a/src/core/hle/service/pctl/pctl.h b/src/core/hle/service/pctl/pctl.h index 8ddf69128..c33ea80b6 100644 --- a/src/core/hle/service/pctl/pctl.h +++ b/src/core/hle/service/pctl/pctl.h | |||
| @@ -11,6 +11,7 @@ namespace Service::PCTL { | |||
| 11 | class PCTL final : public Module::Interface { | 11 | class PCTL final : public Module::Interface { |
| 12 | public: | 12 | public: |
| 13 | explicit PCTL(std::shared_ptr<Module> module, const char* name); | 13 | explicit PCTL(std::shared_ptr<Module> module, const char* name); |
| 14 | ~PCTL() override; | ||
| 14 | }; | 15 | }; |
| 15 | 16 | ||
| 16 | } // namespace Service::PCTL | 17 | } // namespace Service::PCTL |