summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/pctl
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-09-11 03:20:52 +0200
committerLioncash <mathew1800@gmail.com>2018-09-11 05:55:31 +0200
commit6ac955a0b441d762a2ebc0ce96bc41954879c0fc (patch)
treeb3fffe585bf2c2ae052d94062bcc6844e8cdda8c /src/core/hle/service/pctl
parentUse open-source shared fonts if no dumped file is available (#1269) (diff)
downloadyuzu-6ac955a0b441d762a2ebc0ce96bc41954879c0fc.tar
yuzu-6ac955a0b441d762a2ebc0ce96bc41954879c0fc.tar.gz
yuzu-6ac955a0b441d762a2ebc0ce96bc41954879c0fc.tar.bz2
yuzu-6ac955a0b441d762a2ebc0ce96bc41954879c0fc.tar.lz
yuzu-6ac955a0b441d762a2ebc0ce96bc41954879c0fc.tar.xz
yuzu-6ac955a0b441d762a2ebc0ce96bc41954879c0fc.tar.zst
yuzu-6ac955a0b441d762a2ebc0ce96bc41954879c0fc.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/service/pctl/module.cpp2
-rw-r--r--src/core/hle/service/pctl/module.h1
-rw-r--r--src/core/hle/service/pctl/pctl.cpp2
-rw-r--r--src/core/hle/service/pctl/pctl.h1
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
Module::Interface::Interface(std::shared_ptr<Module> module, const char* name)
: ServiceFramework(name), module(std::move(module)) {}
+Module::Interface::~Interface() = default;
+
void InstallInterfaces(SM::ServiceManager& service_manager) {
auto module = std::make_shared<Module>();
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:
class Interface : public ServiceFramework<Interface> {
public:
explicit Interface(std::shared_ptr<Module> module, const char* name);
+ ~Interface() override;
void CreateService(Kernel::HLERequestContext& ctx);
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)
};
RegisterHandlers(functions);
}
+
+PCTL::~PCTL() = default;
} // 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 {
class PCTL final : public Module::Interface {
public:
explicit PCTL(std::shared_ptr<Module> module, const char* name);
+ ~PCTL() override;
};
} // namespace Service::PCTL