Browse Source

[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.
xbzk 5 days ago
parent
commit
6d0a25bd71
  1. 4
      src/qt_common/game_list/model.cpp

4
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);
}

Loading…
Cancel
Save