diff options
author | german77 <juangerman-13@hotmail.com> | 2022-01-01 17:57:43 -0600 |
---|---|---|
committer | german77 <juangerman-13@hotmail.com> | 2022-01-01 17:57:43 -0600 |
commit | a9ad983c137744472eeeebcc7ee2588d9398ee58 (patch) | |
tree | 1dff2331839cd82824f944032d9262cb1ade3ccd /src/yuzu/main.cpp | |
parent | eb7d361657d6df92d5d556cf39e1e4a2f3876cf5 (diff) |
yuzu: Fix UI elements not updating correctly
Diffstat (limited to 'src/yuzu/main.cpp')
-rw-r--r-- | src/yuzu/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index 1e02d715b9..53f11a9ac6 100644 --- a/src/yuzu/main.cpp +++ b/src/yuzu/main.cpp @@ -1547,6 +1547,8 @@ void GMainWindow::ShutdownGame() { emu_thread->wait(); emu_thread = nullptr; + emulation_running = false; + discord_rpc->Update(); // The emulation is stopped, so closing the window or not does not matter anymore @@ -1585,8 +1587,6 @@ void GMainWindow::ShutdownGame() { emu_frametime_label->setVisible(false); renderer_status_button->setEnabled(true); - emulation_running = false; - game_path.clear(); // When closing the game, destroy the GLWindow to clear the context after the game is closed |