diff options
author | bunnei <bunneidev@gmail.com> | 2018-09-11 17:42:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-11 17:42:05 +0200 |
commit | 1470b85af9027106f16c888bb7f6a97d44fad304 (patch) | |
tree | 47ec1878cfed0a96d2cd000dee1f09c63b8d30f4 /src/core/hle/service/fatal | |
parent | Merge pull request #1292 from ogniK5377/renderdoc-fix (diff) | |
parent | hle/service: Default constructors and destructors in the cpp file where applicable (diff) | |
download | yuzu-1470b85af9027106f16c888bb7f6a97d44fad304.tar yuzu-1470b85af9027106f16c888bb7f6a97d44fad304.tar.gz yuzu-1470b85af9027106f16c888bb7f6a97d44fad304.tar.bz2 yuzu-1470b85af9027106f16c888bb7f6a97d44fad304.tar.lz yuzu-1470b85af9027106f16c888bb7f6a97d44fad304.tar.xz yuzu-1470b85af9027106f16c888bb7f6a97d44fad304.tar.zst yuzu-1470b85af9027106f16c888bb7f6a97d44fad304.zip |
Diffstat (limited to 'src/core/hle/service/fatal')
-rw-r--r-- | src/core/hle/service/fatal/fatal.cpp | 2 | ||||
-rw-r--r-- | src/core/hle/service/fatal/fatal.h | 1 | ||||
-rw-r--r-- | src/core/hle/service/fatal/fatal_p.cpp | 2 | ||||
-rw-r--r-- | src/core/hle/service/fatal/fatal_p.h | 1 | ||||
-rw-r--r-- | src/core/hle/service/fatal/fatal_u.cpp | 2 | ||||
-rw-r--r-- | src/core/hle/service/fatal/fatal_u.h | 1 |
6 files changed, 9 insertions, 0 deletions
diff --git a/src/core/hle/service/fatal/fatal.cpp b/src/core/hle/service/fatal/fatal.cpp index 299b9474f..b436ce4e6 100644 --- a/src/core/hle/service/fatal/fatal.cpp +++ b/src/core/hle/service/fatal/fatal.cpp @@ -13,6 +13,8 @@ namespace Service::Fatal { Module::Interface::Interface(std::shared_ptr<Module> module, const char* name) : ServiceFramework(name), module(std::move(module)) {} +Module::Interface::~Interface() = default; + void Module::Interface::ThrowFatalWithPolicy(Kernel::HLERequestContext& ctx) { IPC::RequestParser rp(ctx); u32 error_code = rp.Pop<u32>(); diff --git a/src/core/hle/service/fatal/fatal.h b/src/core/hle/service/fatal/fatal.h index ca607e236..4d9a5be52 100644 --- a/src/core/hle/service/fatal/fatal.h +++ b/src/core/hle/service/fatal/fatal.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 ThrowFatalWithPolicy(Kernel::HLERequestContext& ctx); void ThrowFatalWithCpuContext(Kernel::HLERequestContext& ctx); diff --git a/src/core/hle/service/fatal/fatal_p.cpp b/src/core/hle/service/fatal/fatal_p.cpp index a5254ac2f..9e5f872ff 100644 --- a/src/core/hle/service/fatal/fatal_p.cpp +++ b/src/core/hle/service/fatal/fatal_p.cpp @@ -9,4 +9,6 @@ namespace Service::Fatal { Fatal_P::Fatal_P(std::shared_ptr<Module> module) : Module::Interface(std::move(module), "fatal:p") {} +Fatal_P::~Fatal_P() = default; + } // namespace Service::Fatal diff --git a/src/core/hle/service/fatal/fatal_p.h b/src/core/hle/service/fatal/fatal_p.h index bfd8c8b74..6e9c5979f 100644 --- a/src/core/hle/service/fatal/fatal_p.h +++ b/src/core/hle/service/fatal/fatal_p.h @@ -11,6 +11,7 @@ namespace Service::Fatal { class Fatal_P final : public Module::Interface { public: explicit Fatal_P(std::shared_ptr<Module> module); + ~Fatal_P() override; }; } // namespace Service::Fatal diff --git a/src/core/hle/service/fatal/fatal_u.cpp b/src/core/hle/service/fatal/fatal_u.cpp index f0631329e..befc307cf 100644 --- a/src/core/hle/service/fatal/fatal_u.cpp +++ b/src/core/hle/service/fatal/fatal_u.cpp @@ -15,4 +15,6 @@ Fatal_U::Fatal_U(std::shared_ptr<Module> module) : Module::Interface(std::move(m RegisterHandlers(functions); } +Fatal_U::~Fatal_U() = default; + } // namespace Service::Fatal diff --git a/src/core/hle/service/fatal/fatal_u.h b/src/core/hle/service/fatal/fatal_u.h index 9b1a9e97a..72cb6d076 100644 --- a/src/core/hle/service/fatal/fatal_u.h +++ b/src/core/hle/service/fatal/fatal_u.h @@ -11,6 +11,7 @@ namespace Service::Fatal { class Fatal_U final : public Module::Interface { public: explicit Fatal_U(std::shared_ptr<Module> module); + ~Fatal_U() override; }; } // namespace Service::Fatal |