Make "Do you want to stop emulation?" application modal and disallow multiple instances at once

Fixes numerous issues with this dialog spawning multiple times
and putting Dolphin in a weird state.
This commit is contained in:
Silent 2019-11-10 23:58:39 +01:00
commit 85c2841643
No known key found for this signature in database
GPG key ID: AE53149BB0C45AF1
2 changed files with 9 additions and 1 deletions

View file

@ -198,6 +198,7 @@ private:
GameList* m_game_list;
RenderWidget* m_render_widget = nullptr;
bool m_rendering_to_main;
bool m_stop_confirm_showing = false;
bool m_stop_requested = false;
bool m_exit_requested = false;
bool m_fullscreen_requested = false;