mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-10-21 16:40:23 +02: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:
parent
6bad422d08
commit
53a98f9de1
1 changed files with 3 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue