DolphinWX: Update GUI properly after unpausing

If an unpause was forced by the graceful shutdown code, the UI was
previously not updated.
This commit is contained in:
Léo Lam 2016-10-04 22:57:04 +02:00
parent fa009ab6f6
commit 48ff76d495

View File

@ -1344,7 +1344,9 @@ void CFrame::DoStop()
if (SConfig::GetInstance().bWii && !m_tried_graceful_shutdown)
{
Core::DisplayMessage("Shutting down", 30000);
Core::SetState(Core::CORE_RUN);
// Unpause because gracefully shutting down needs the game to actually request a shutdown
if (Core::GetState() == Core::CORE_PAUSE)
DoPause();
ProcessorInterface::PowerButton_Tap();
m_confirmStop = false;
m_tried_graceful_shutdown = true;