Merge pull request #4450 from Morph1984/fix-gamelist-scanning

game_list_worker: Fix game list subdirectory scanning
This commit is contained in:
bunnei 2020-08-04 18:43:17 -04:00 committed by GitHub
commit c71d05de84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -369,8 +369,8 @@ void GameListWorker::run() {
auto* const game_list_dir = new GameListDir(game_dir); auto* const game_list_dir = new GameListDir(game_dir);
emit DirEntryReady(game_list_dir); emit DirEntryReady(game_list_dir);
provider->ClearAllEntries(); provider->ClearAllEntries();
ScanFileSystem(ScanTarget::FillManualContentProvider, game_dir.path.toStdString(), 2, ScanFileSystem(ScanTarget::FillManualContentProvider, game_dir.path.toStdString(),
game_list_dir); game_dir.deep_scan ? 256 : 0, game_list_dir);
ScanFileSystem(ScanTarget::PopulateGameList, game_dir.path.toStdString(), ScanFileSystem(ScanTarget::PopulateGameList, game_dir.path.toStdString(),
game_dir.deep_scan ? 256 : 0, game_list_dir); game_dir.deep_scan ? 256 : 0, game_list_dir);
} }