game_list: Use RegisteredCacheUnion for installed

Reduces code
This commit is contained in:
Zach Hilman 2018-08-25 18:59:19 -04:00
parent 99fbcb3bf2
commit d2caf4af7d
3 changed files with 3 additions and 5 deletions

View file

@ -621,9 +621,7 @@ void GameListWorker::run() {
stop_processing = false;
watch_list.append(dir_path);
FillControlMap(dir_path.toStdString());
AddInstalledTitlesToGameList(Service::FileSystem::GetUserNANDContents());
AddInstalledTitlesToGameList(Service::FileSystem::GetSystemNANDContents());
AddInstalledTitlesToGameList(Service::FileSystem::GetSDMCContents());
AddInstalledTitlesToGameList();
AddFstEntriesToGameList(dir_path.toStdString(), deep_scan ? 256 : 0);
nca_control_map.clear();
emit Finished(watch_list);