diff options
author | german77 <juangerman-13@hotmail.com> | 2022-01-02 00:57:43 +0100 |
---|---|---|
committer | german77 <juangerman-13@hotmail.com> | 2022-01-02 00:57:43 +0100 |
commit | a9ad983c137744472eeeebcc7ee2588d9398ee58 (patch) | |
tree | 1dff2331839cd82824f944032d9262cb1ade3ccd /src | |
parent | Merge pull request #7654 from Morph1984/dynarmic (diff) | |
download | yuzu-a9ad983c137744472eeeebcc7ee2588d9398ee58.tar yuzu-a9ad983c137744472eeeebcc7ee2588d9398ee58.tar.gz yuzu-a9ad983c137744472eeeebcc7ee2588d9398ee58.tar.bz2 yuzu-a9ad983c137744472eeeebcc7ee2588d9398ee58.tar.lz yuzu-a9ad983c137744472eeeebcc7ee2588d9398ee58.tar.xz yuzu-a9ad983c137744472eeeebcc7ee2588d9398ee58.tar.zst yuzu-a9ad983c137744472eeeebcc7ee2588d9398ee58.zip |
Diffstat (limited to '')
-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 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 |