aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2022-01-03 13:24:15 -0800
committerGitHub <noreply@github.com>2022-01-03 13:24:15 -0800
commit05b7b177f66ae8cf5fb789363f00d96f720d86d5 (patch)
tree3103f90a3b9c5e54743c0822049811074fcef9b7 /src
parentb89d096652b3e4c1b3a2cad2761a1a0f7b7cba97 (diff)
parenta9ad983c137744472eeeebcc7ee2588d9398ee58 (diff)
Merge pull request #7662 from german77/uistatus
yuzu: Fix UI elements not updating correctly
Diffstat (limited to 'src')
-rw-r--r--src/yuzu/main.cpp4
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