VERY experimental Nintendo Switch 2 emulator
C++
yuzu: Disable game list while game is running
german77e1f99c566ba0
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cppindex 25cfef6d51..5b338c6e5b 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 threademu_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 closedrender_window->ReleaseRenderTarget();+ // Enable game list+ game_list->setEnabled(true);+Settings::RestoreGlobalState(system->IsPoweredOn());system->HIDCore().ReloadInputDevices();UpdateStatusButtons();