diff options
| author | 2022-01-01 17:57:43 -0600 | |
|---|---|---|
| committer | 2022-01-01 17:57:43 -0600 | |
| commit | a9ad983c137744472eeeebcc7ee2588d9398ee58 (patch) | |
| tree | 1dff2331839cd82824f944032d9262cb1ade3ccd /src | |
| parent | Merge pull request #7654 from Morph1984/dynarmic (diff) | |
| download | yuzu-a9ad983c137744472eeeebcc7ee2588d9398ee58.tar.gz yuzu-a9ad983c137744472eeeebcc7ee2588d9398ee58.tar.xz yuzu-a9ad983c137744472eeeebcc7ee2588d9398ee58.zip | |
yuzu: Fix UI elements not updating correctly
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() { | |||
| 1547 | emu_thread->wait(); | 1547 | emu_thread->wait(); |
| 1548 | emu_thread = nullptr; | 1548 | emu_thread = nullptr; |
| 1549 | 1549 | ||
| 1550 | emulation_running = false; | ||
| 1551 | |||
| 1550 | discord_rpc->Update(); | 1552 | discord_rpc->Update(); |
| 1551 | 1553 | ||
| 1552 | // The emulation is stopped, so closing the window or not does not matter anymore | 1554 | // The emulation is stopped, so closing the window or not does not matter anymore |
| @@ -1585,8 +1587,6 @@ void GMainWindow::ShutdownGame() { | |||
| 1585 | emu_frametime_label->setVisible(false); | 1587 | emu_frametime_label->setVisible(false); |
| 1586 | renderer_status_button->setEnabled(true); | 1588 | renderer_status_button->setEnabled(true); |
| 1587 | 1589 | ||
| 1588 | emulation_running = false; | ||
| 1589 | |||
| 1590 | game_path.clear(); | 1590 | game_path.clear(); |
| 1591 | 1591 | ||
| 1592 | // When closing the game, destroy the GLWindow to clear the context after the game is closed | 1592 | // When closing the game, destroy the GLWindow to clear the context after the game is closed |