MCPcopy Create free account
hub / github.com/BernardoGiordano/Checkpoint / loadFromCache

Method loadFromCache

3ds/source/loader.cpp:416–428  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

414}
415
416void TitleCatalog::loadFromCache(std::vector<Title>& saves, std::vector<Title>& extdatas, IconStore& icons)
417{
418 mCounter = 0;
419 importTitleListCache(saves, extdatas, icons);
420 mCounter = saves.size() + extdatas.size();
421
422 for (auto& title : saves) {
423 title.refreshDirectories();
424 }
425 for (auto& title : extdatas) {
426 title.refreshDirectories();
427 }
428}
429
430void TitleCatalog::scanInstalledTitles(std::vector<Title>& saves, std::vector<Title>& extdatas, IconStore& icons)
431{

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.45
refreshDirectoriesMethod · 0.45

Tested by

no test coverage detected