Qt: Fix frozen display on exiting game with fsui active

This commit is contained in:
Connor McLaughlin 2022-07-25 17:36:11 +10:00
parent 5cb9ca1b8d
commit f9846e1e4d
1 changed files with 4 additions and 0 deletions

View File

@ -980,6 +980,10 @@ void Host::OnSystemDestroyed()
g_emu_thread->resetPerformanceCounters();
g_emu_thread->startBackgroundControllerPollTimer();
emit g_emu_thread->systemDestroyed();
// re-wake thread when we're running fsui, otherwise it won't draw
if (g_emu_thread->isRunningFullscreenUI())
g_emu_thread->wakeThread();
}
void EmuThread::reloadInputSources()