mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-14 05:55:13 +01:00
only search to two recursions, add update dir to watch list
This commit is contained in:
parent
38c5ca68b2
commit
4da837c929
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user