summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2022-01-03 22:24:15 +0100
committerGitHub <noreply@github.com>2022-01-03 22:24:15 +0100
commit05b7b177f66ae8cf5fb789363f00d96f720d86d5 (patch)
tree3103f90a3b9c5e54743c0822049811074fcef9b7
parentMerge pull request #7663 from german77/applet (diff)
parentyuzu: Fix UI elements not updating correctly (diff)
downloadyuzu-05b7b177f66ae8cf5fb789363f00d96f720d86d5.tar
yuzu-05b7b177f66ae8cf5fb789363f00d96f720d86d5.tar.gz
yuzu-05b7b177f66ae8cf5fb789363f00d96f720d86d5.tar.bz2
yuzu-05b7b177f66ae8cf5fb789363f00d96f720d86d5.tar.lz
yuzu-05b7b177f66ae8cf5fb789363f00d96f720d86d5.tar.xz
yuzu-05b7b177f66ae8cf5fb789363f00d96f720d86d5.tar.zst
yuzu-05b7b177f66ae8cf5fb789363f00d96f720d86d5.zip
-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 1e02d715b..53f11a9ac 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