Qt: Fix frozen display on exiting game with fsui active
This commit is contained in:
parent
5cb9ca1b8d
commit
f9846e1e4d
|
@ -980,6 +980,10 @@ void Host::OnSystemDestroyed()
|
||||||
g_emu_thread->resetPerformanceCounters();
|
g_emu_thread->resetPerformanceCounters();
|
||||||
g_emu_thread->startBackgroundControllerPollTimer();
|
g_emu_thread->startBackgroundControllerPollTimer();
|
||||||
emit g_emu_thread->systemDestroyed();
|
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()
|
void EmuThread::reloadInputSources()
|
||||||
|
|
Loading…
Reference in New Issue