Core: Wait for GPU to be idle before shutting down.

This commit is contained in:
Fernando Sahmkow authored and FernandoS27 committed 2019-10-04 19:59:53 -04:00
1 parent 69fa2e6525
commit 3f104464de
7 files changed
+19

No files matched your search

+2
View File
@@ -252,6 +252,8 @@ struct System::Impl {
is_powered_on = false;
exit_lock = false;
gpu_core->WaitIdle();
// Shutdown emulation session
renderer.reset();
GDBStub::Shutdown();