diff options
author | bunnei <bunneidev@gmail.com> | 2022-12-12 23:37:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-12 23:37:42 +0100 |
commit | 339a37f8cb19dffbf64015b5d9a362a1ef5560c2 (patch) | |
tree | 0742ac869b92b4ee7b2c49ef77547cdaeac5038d /src/core/core.cpp | |
parent | Merge pull request #9406 from vonchenplus/topology (diff) | |
parent | general: improve handling of system startup failure (diff) | |
download | yuzu-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.cpp | 4 |
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(); |