[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.
This commit is contained in:
xbzk
2026-07-27 21:55:41 -03:00
parent 6bad422d08
commit 53a98f9de1
+3 -1
View File
@@ -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);
}