diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-01-21 20:31:39 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-01-29 21:53:11 +0100 |
commit | e651e54b85debf5a81c6d58dcc1e460fc398000c (patch) | |
tree | aff1a5a766676b6bbb7324e17d96accad1055012 /src/core | |
parent | shader/other: Fix skips for SYNC and BRK (diff) | |
download | yuzu-e651e54b85debf5a81c6d58dcc1e460fc398000c.tar yuzu-e651e54b85debf5a81c6d58dcc1e460fc398000c.tar.gz yuzu-e651e54b85debf5a81c6d58dcc1e460fc398000c.tar.bz2 yuzu-e651e54b85debf5a81c6d58dcc1e460fc398000c.tar.lz yuzu-e651e54b85debf5a81c6d58dcc1e460fc398000c.tar.xz yuzu-e651e54b85debf5a81c6d58dcc1e460fc398000c.tar.zst yuzu-e651e54b85debf5a81c6d58dcc1e460fc398000c.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 d697b80ef..10ed5219b 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp @@ -259,7 +259,9 @@ struct System::Impl { is_powered_on = false; exit_lock = false; - gpu_core->WaitIdle(); + if (gpu_core) { + gpu_core->WaitIdle(); + } // Shutdown emulation session renderer.reset(); |