mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 16:19:28 +01:00
WX: Clear m_is_game_loading at the proper moment
This should happen after the core has stopped (OnStopped), not when the user wants to stop (DoStop).
This commit is contained in:
parent
52f00603e2
commit
546181c457
@ -818,7 +818,6 @@ void CFrame::DoStop()
|
||||
// don't let this function run again until it finishes, or is aborted.
|
||||
m_confirm_stop = true;
|
||||
|
||||
m_is_game_loading = false;
|
||||
if (Core::GetState() != Core::State::Uninitialized || m_render_parent != nullptr)
|
||||
{
|
||||
#if defined __WXGTK__
|
||||
@ -919,6 +918,7 @@ bool CFrame::TriggerSTMPowerEvent()
|
||||
void CFrame::OnStopped()
|
||||
{
|
||||
m_confirm_stop = false;
|
||||
m_is_game_loading = false;
|
||||
m_tried_graceful_shutdown = false;
|
||||
|
||||
UninhibitScreensaver();
|
||||
|
Loading…
x
Reference in New Issue
Block a user