mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 13:57:57 -07:00
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:
parent
fa009ab6f6
commit
48ff76d495
@ -1344,7 +1344,9 @@ void CFrame::DoStop()
|
|||||||
if (SConfig::GetInstance().bWii && !m_tried_graceful_shutdown)
|
if (SConfig::GetInstance().bWii && !m_tried_graceful_shutdown)
|
||||||
{
|
{
|
||||||
Core::DisplayMessage("Shutting down", 30000);
|
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();
|
ProcessorInterface::PowerButton_Tap();
|
||||||
m_confirmStop = false;
|
m_confirmStop = false;
|
||||||
m_tried_graceful_shutdown = true;
|
m_tried_graceful_shutdown = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user