Browse Source
Merge pull request #7662 from german77/uistatus
yuzu: Fix UI elements not updating correctly
pull/15/merge
bunnei
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
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
|
|
|
|
|