diff options
author | bunnei <bunneidev@gmail.com> | 2020-08-07 23:11:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-07 23:11:52 +0200 |
commit | f14bb61acd8ec9357bc453f7cbeca800143df5dd (patch) | |
tree | 41bdd8143d9f629db83c17e93478c54ca19523e6 | |
parent | Merge pull request #4457 from ogniK5377/SetScreenShotPermission (diff) | |
parent | game_list_worker: Do not clear entries when > 1 gamedir is present (diff) | |
download | yuzu-f14bb61acd8ec9357bc453f7cbeca800143df5dd.tar yuzu-f14bb61acd8ec9357bc453f7cbeca800143df5dd.tar.gz yuzu-f14bb61acd8ec9357bc453f7cbeca800143df5dd.tar.bz2 yuzu-f14bb61acd8ec9357bc453f7cbeca800143df5dd.tar.lz yuzu-f14bb61acd8ec9357bc453f7cbeca800143df5dd.tar.xz yuzu-f14bb61acd8ec9357bc453f7cbeca800143df5dd.tar.zst yuzu-f14bb61acd8ec9357bc453f7cbeca800143df5dd.zip |
-rw-r--r-- | src/yuzu/game_list_worker.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu/game_list_worker.cpp b/src/yuzu/game_list_worker.cpp index 239016b94..643ca6491 100644 --- a/src/yuzu/game_list_worker.cpp +++ b/src/yuzu/game_list_worker.cpp @@ -350,6 +350,7 @@ void GameListWorker::ScanFileSystem(ScanTarget target, const std::string& dir_pa void GameListWorker::run() { stop_processing = false; + provider->ClearAllEntries(); for (UISettings::GameDir& game_dir : game_dirs) { if (game_dir.path == QStringLiteral("SDMC")) { @@ -368,7 +369,6 @@ void GameListWorker::run() { watch_list.append(game_dir.path); auto* const game_list_dir = new GameListDir(game_dir); emit DirEntryReady(game_list_dir); - provider->ClearAllEntries(); ScanFileSystem(ScanTarget::FillManualContentProvider, game_dir.path.toStdString(), game_dir.deep_scan ? 256 : 0, game_list_dir); ScanFileSystem(ScanTarget::PopulateGameList, game_dir.path.toStdString(), |