summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar bunnei2021-04-23 17:04:33 -0700
committerGravatar bunnei2021-05-05 16:40:52 -0700
commit864841eb9eb3af7443aa3672e812e512967ea46e (patch)
tree312c365f37c0d66e36ef152b27076091732c4da1 /src
parenthle: kernel: Cleanup shutdown of persistent kernel objects. (diff)
downloadyuzu-864841eb9eb3af7443aa3672e812e512967ea46e.tar.gz
yuzu-864841eb9eb3af7443aa3672e812e512967ea46e.tar.xz
yuzu-864841eb9eb3af7443aa3672e812e512967ea46e.zip
hle: kernel: Do not shutdown twice on emulator close.
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/kernel/kernel.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/core/hle/kernel/kernel.cpp b/src/core/hle/kernel/kernel.cpp
index b2eb51bde..409bcfaa0 100644
--- a/src/core/hle/kernel/kernel.cpp
+++ b/src/core/hle/kernel/kernel.cpp
@@ -694,9 +694,7 @@ struct KernelCore::Impl {
694}; 694};
695 695
696KernelCore::KernelCore(Core::System& system) : impl{std::make_unique<Impl>(system, *this)} {} 696KernelCore::KernelCore(Core::System& system) : impl{std::make_unique<Impl>(system, *this)} {}
697KernelCore::~KernelCore() { 697KernelCore::~KernelCore() = default;
698 Shutdown();
699}
700 698
701void KernelCore::SetMulticore(bool is_multicore) { 699void KernelCore::SetMulticore(bool is_multicore) {
702 impl->SetMulticore(is_multicore); 700 impl->SetMulticore(is_multicore);