diff options
author | bunnei <bunneidev@gmail.com> | 2022-03-08 21:36:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-08 21:36:57 +0100 |
commit | f2743b41b0f8f82bcfe678cf735819ea987b62b4 (patch) | |
tree | f5cd00237eda3d4ea49a434e8f01f2a912ded9ce /src/core/core.cpp | |
parent | Merge pull request #7989 from degasus/maxwell_LUT3 (diff) | |
parent | video_core: Cancel Scoped's exit call on GPU failure (diff) | |
download | yuzu-f2743b41b0f8f82bcfe678cf735819ea987b62b4.tar yuzu-f2743b41b0f8f82bcfe678cf735819ea987b62b4.tar.gz yuzu-f2743b41b0f8f82bcfe678cf735819ea987b62b4.tar.bz2 yuzu-f2743b41b0f8f82bcfe678cf735819ea987b62b4.tar.lz yuzu-f2743b41b0f8f82bcfe678cf735819ea987b62b4.tar.xz yuzu-f2743b41b0f8f82bcfe678cf735819ea987b62b4.tar.zst yuzu-f2743b41b0f8f82bcfe678cf735819ea987b62b4.zip |
Diffstat (limited to 'src/core/core.cpp')
-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 b0cfee3ee..c60a784c3 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp @@ -326,7 +326,9 @@ struct System::Impl { is_powered_on = false; exit_lock = false; - gpu_core->NotifyShutdown(); + if (gpu_core != nullptr) { + gpu_core->NotifyShutdown(); + } services.reset(); service_manager.reset(); |