only search to two recursions, add update dir to watch list

This commit is contained in:
BreadFish64 2018-01-23 14:13:54 -06:00
parent 38c5ca68b2
commit 4da837c929

View File

@ -449,6 +449,10 @@ void GameListWorker::run() {
std::string(FileUtil::GetUserPath(D_SDMC_IDX).c_str()) + std::string(FileUtil::GetUserPath(D_SDMC_IDX).c_str()) +
"Nintendo " "Nintendo "
"3DS/00000000000000000000000000000000/00000000000000000000000000000000/title/00040000")); "3DS/00000000000000000000000000000000/00000000000000000000000000000000/title/00040000"));
watch_list.append(QString::fromStdString(
std::string(FileUtil::GetUserPath(D_SDMC_IDX).c_str()) +
"Nintendo "
"3DS/00000000000000000000000000000000/00000000000000000000000000000000/title/0004000e"));
watch_list.append( watch_list.append(
QString::fromStdString(std::string(FileUtil::GetUserPath(D_NAND_IDX).c_str()) + QString::fromStdString(std::string(FileUtil::GetUserPath(D_NAND_IDX).c_str()) +
"00000000000000000000000000000000/title/00040010")); "00000000000000000000000000000000/title/00040010"));
@ -457,10 +461,10 @@ void GameListWorker::run() {
std::string(FileUtil::GetUserPath(D_SDMC_IDX).c_str()) + std::string(FileUtil::GetUserPath(D_SDMC_IDX).c_str()) +
"Nintendo " "Nintendo "
"3DS/00000000000000000000000000000000/00000000000000000000000000000000/title/00040000", "3DS/00000000000000000000000000000000/00000000000000000000000000000000/title/00040000",
true ? 256 : 0); 2);
AddFstEntriesToGameList(std::string(FileUtil::GetUserPath(D_NAND_IDX).c_str()) + AddFstEntriesToGameList(std::string(FileUtil::GetUserPath(D_NAND_IDX).c_str()) +
"00000000000000000000000000000000/title/00040010", "00000000000000000000000000000000/title/00040010",
true ? 256 : 0); 2);
emit Finished(watch_list); emit Finished(watch_list);
} }