mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00:00
Merge pull request #5517 from leoetlino/more-reliable-shutdown
More reliable shutdown
This commit is contained in:
commit
227bc3816f
2 changed files with 37 additions and 34 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue