From 6d0a25bd71de8bf7858caee8477173406631f4b7 Mon Sep 17 00:00:00 2001 From: xbzk Date: Mon, 27 Jul 2026 21:55:41 -0300 Subject: [PATCH] [qt_common] Avoid FS factory refresh while powered Skip FileSystemController factory recreation during game-list repopulation while emulation is powered on. This avoids poking live FS/VFS state during homebrew self-update and in-place NextLoad flows. --- src/qt_common/game_list/model.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/qt_common/game_list/model.cpp b/src/qt_common/game_list/model.cpp index 708ef576c6..492c760ca0 100644 --- a/src/qt_common/game_list/model.cpp +++ b/src/qt_common/game_list/model.cpp @@ -159,7 +159,9 @@ void GameListModel::RemoveFavorite(u64 program_id) { void GameListModel::Repopulate() { current_worker.reset(); - QtCommon::system->GetFileSystemController().CreateFactories(*QtCommon::vfs); + if (!QtCommon::system->IsPoweredOn()) { + QtCommon::system->GetFileSystemController().CreateFactories(*QtCommon::vfs); + } PopulateAsync(UISettings::values.game_dirs); }