From 7c2f335228fd8ce494becf7bdcfa6979cfcea3fb Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Sat, 23 Jul 2022 01:34:52 +1000 Subject: [PATCH] Qt: Fix not auto-switching back to game on unpause --- src/duckstation-qt/qthost.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/duckstation-qt/qthost.cpp b/src/duckstation-qt/qthost.cpp index 294e9e52e..2db9b2781 100644 --- a/src/duckstation-qt/qthost.cpp +++ b/src/duckstation-qt/qthost.cpp @@ -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();