diff options
author | lat9nq <lat9nq@gmail.com> | 2022-03-07 07:39:16 +0100 |
---|---|---|
committer | lat9nq <lat9nq@gmail.com> | 2022-03-07 21:25:20 +0100 |
commit | 381f1dd2c993847fdef65b2c9da4c7ec29079553 (patch) | |
tree | 80943b6d490d7e99ae71681555ec89d44829cdb5 /src/core/core.cpp | |
parent | gl_graphics_pipeline: Improve shader builder synchronization using fences (#7969) (diff) | |
download | yuzu-381f1dd2c993847fdef65b2c9da4c7ec29079553.tar yuzu-381f1dd2c993847fdef65b2c9da4c7ec29079553.tar.gz yuzu-381f1dd2c993847fdef65b2c9da4c7ec29079553.tar.bz2 yuzu-381f1dd2c993847fdef65b2c9da4c7ec29079553.tar.lz yuzu-381f1dd2c993847fdef65b2c9da4c7ec29079553.tar.xz yuzu-381f1dd2c993847fdef65b2c9da4c7ec29079553.tar.zst yuzu-381f1dd2c993847fdef65b2c9da4c7ec29079553.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(); |