VERY experimental Nintendo Switch 2 emulator
C++
citra-qt: Move system shutdown to run inside EmuThread
Yuri Kunde Schlesnerc42f680c755d
diff --git a/src/citra_qt/bootmanager.cpp b/src/citra_qt/bootmanager.cppindex d9bacfc3d7..9aec165069 100644--- a/src/citra_qt/bootmanager.cpp+++ b/src/citra_qt/bootmanager.cpp@@ -72,6 +72,9 @@ void EmuThread::run() {}}+ // Shutdown the core emulation+ System::Shutdown();+MicroProfileOnThreadExit();render_window->moveContext();diff --git a/src/citra_qt/main.cpp b/src/citra_qt/main.cppindex 7fb1b0dcbc..11813a2a8a 100644--- a/src/citra_qt/main.cpp+++ b/src/citra_qt/main.cpp@@ -283,9 +283,6 @@ void GMainWindow::ShutdownGame() {emu_thread->wait();emu_thread = nullptr;- // Shutdown the core emulation- System::Shutdown();-// Update the GUIui.action_Start->setEnabled(false);ui.action_Start->setText(tr("Start"));