2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

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

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