mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2025-01-18 06:25:37 +00:00
Qt: Fix not auto-switching back to game on unpause
This commit is contained in:
parent
a5f5be1a60
commit
7c2f335228
|
@ -962,6 +962,10 @@ void Host::OnSystemResumed()
|
||||||
{
|
{
|
||||||
CommonHost::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();
|
emit g_emu_thread->systemResumed();
|
||||||
|
|
||||||
g_emu_thread->wakeThread();
|
g_emu_thread->wakeThread();
|
||||||
|
|
Loading…
Reference in a new issue