Qt: Fix not auto-switching back to game on unpause

This commit is contained in:
Connor McLaughlin 2022-07-23 01:34:52 +10:00
parent a5f5be1a60
commit 7c2f335228
1 changed files with 4 additions and 0 deletions

View File

@ -962,6 +962,10 @@ void Host::OnSystemResumed()
{
CommonHost::OnSystemResumed();
// if we were surfaceless (view->game list, system->unpause), get our display widget back
if (g_emu_thread->isSurfaceless())
g_emu_thread->setSurfaceless(false);
emit g_emu_thread->systemResumed();
g_emu_thread->wakeThread();