summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgerman77 <juangerman-13@hotmail.com>2023-05-28 18:14:41 +0200
committerNarr the Reg <juangerman-13@hotmail.com>2023-05-29 18:00:34 +0200
commite5be1835ab8321d1130a502cf49b5133d9b88849 (patch)
tree869ec9174bf1fb03d7f48cdeed851689c9f73efe
parentMerge pull request #10484 from Morph1984/fmt10 (diff)
downloadyuzu-e5be1835ab8321d1130a502cf49b5133d9b88849.tar
yuzu-e5be1835ab8321d1130a502cf49b5133d9b88849.tar.gz
yuzu-e5be1835ab8321d1130a502cf49b5133d9b88849.tar.bz2
yuzu-e5be1835ab8321d1130a502cf49b5133d9b88849.tar.lz
yuzu-e5be1835ab8321d1130a502cf49b5133d9b88849.tar.xz
yuzu-e5be1835ab8321d1130a502cf49b5133d9b88849.tar.zst
yuzu-e5be1835ab8321d1130a502cf49b5133d9b88849.zip
-rw-r--r--src/yuzu/main.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp
index 25cfef6d5..5b338c6e5 100644
--- a/src/yuzu/main.cpp
+++ b/src/yuzu/main.cpp
@@ -1798,6 +1798,7 @@ void GMainWindow::BootGame(const QString& filename, u64 program_id, std::size_t
}
system->SetShuttingDown(false);
+ game_list->setDisabled(true);
// Create and start the emulation thread
emu_thread = std::make_unique<EmuThread>(*system);
@@ -1993,6 +1994,9 @@ void GMainWindow::OnEmulationStopped() {
// When closing the game, destroy the GLWindow to clear the context after the game is closed
render_window->ReleaseRenderTarget();
+ // Enable game list
+ game_list->setEnabled(true);
+
Settings::RestoreGlobalState(system->IsPoweredOn());
system->HIDCore().ReloadInputDevices();
UpdateStatusButtons();