summaryrefslogtreecommitdiffstats
path: root/src/core/core.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2022-12-12 23:37:42 +0100
committerGitHub <noreply@github.com>2022-12-12 23:37:42 +0100
commit339a37f8cb19dffbf64015b5d9a362a1ef5560c2 (patch)
tree0742ac869b92b4ee7b2c49ef77547cdaeac5038d /src/core/core.cpp
parentMerge pull request #9406 from vonchenplus/topology (diff)
parentgeneral: improve handling of system startup failure (diff)
downloadyuzu-339a37f8cb19dffbf64015b5d9a362a1ef5560c2.tar
yuzu-339a37f8cb19dffbf64015b5d9a362a1ef5560c2.tar.gz
yuzu-339a37f8cb19dffbf64015b5d9a362a1ef5560c2.tar.bz2
yuzu-339a37f8cb19dffbf64015b5d9a362a1ef5560c2.tar.lz
yuzu-339a37f8cb19dffbf64015b5d9a362a1ef5560c2.tar.xz
yuzu-339a37f8cb19dffbf64015b5d9a362a1ef5560c2.tar.zst
yuzu-339a37f8cb19dffbf64015b5d9a362a1ef5560c2.zip
Diffstat (limited to '')
-rw-r--r--src/core/core.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp
index 94d4e2212..a738f221f 100644
--- a/src/core/core.cpp
+++ b/src/core/core.cpp
@@ -389,7 +389,9 @@ struct System::Impl {
kernel.ShutdownCores();
cpu_manager.Shutdown();
debugger.reset();
- services->KillNVNFlinger();
+ if (services) {
+ services->KillNVNFlinger();
+ }
kernel.CloseServices();
services.reset();
service_manager.reset();