From f9846e1e4d90c02b6df3eda0543ebf23eaaaae72 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Mon, 25 Jul 2022 17:36:11 +1000 Subject: [PATCH] Qt: Fix frozen display on exiting game with fsui active --- 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 2f8ff9477..add82a74b 100644 --- a/src/duckstation-qt/qthost.cpp +++ b/src/duckstation-qt/qthost.cpp @@ -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()