mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2026-08-17 21:57:52 +00:00
[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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user