summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2023-02-16 00:16:04 +0100
committerLiam <byteslice@airmail.cc>2023-02-21 18:19:25 +0100
commit23151ff498993badb341ddf6de5ed38a5833e41c (patch)
tree35e1554c253e3169ab9b4510699750242e3488c9 /src
parentMerge pull request #9834 from german77/reverted (diff)
downloadyuzu-23151ff498993badb341ddf6de5ed38a5833e41c.tar
yuzu-23151ff498993badb341ddf6de5ed38a5833e41c.tar.gz
yuzu-23151ff498993badb341ddf6de5ed38a5833e41c.tar.bz2
yuzu-23151ff498993badb341ddf6de5ed38a5833e41c.tar.lz
yuzu-23151ff498993badb341ddf6de5ed38a5833e41c.tar.xz
yuzu-23151ff498993badb341ddf6de5ed38a5833e41c.tar.zst
yuzu-23151ff498993badb341ddf6de5ed38a5833e41c.zip
Diffstat (limited to 'src')
-rw-r--r--src/core/core.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp
index fb9b25d12..2683533b8 100644
--- a/src/core/core.cpp
+++ b/src/core/core.cpp
@@ -380,9 +380,7 @@ struct System::Impl {
gpu_core->NotifyShutdown();
}
- kernel.ShutdownCores();
- cpu_manager.Shutdown();
- debugger.reset();
+ kernel.SuspendApplication(true);
if (services) {
services->KillNVNFlinger();
}
@@ -398,6 +396,9 @@ struct System::Impl {
gpu_core.reset();
host1x_core.reset();
perf_stats.reset();
+ kernel.ShutdownCores();
+ cpu_manager.Shutdown();
+ debugger.reset();
kernel.Shutdown();
memory.Reset();