VERY experimental Nintendo Switch 2 emulator
C++
core: Only wait for idle on gpu_core when it was initialized
ReinUsesLispe1da8458413d
diff --git a/src/core/core.cpp b/src/core/core.cppindex d697b80eff..10ed5219ba 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 sessionrenderer.reset();