mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Merge pull request #5517 from leoetlino/more-reliable-shutdown
More reliable shutdown
This commit is contained in:
@ -810,7 +810,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__
|
||||
@ -911,6 +910,7 @@ bool CFrame::TriggerSTMPowerEvent()
|
||||
void CFrame::OnStopped()
|
||||
{
|
||||
m_confirm_stop = false;
|
||||
m_is_game_loading = false;
|
||||
m_tried_graceful_shutdown = false;
|
||||
|
||||
UninhibitScreensaver();
|
||||
|
Reference in New Issue
Block a user