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

Method updateSelector

3ds/source/MainScreen.cpp:613–629  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

611}
612
613void MainScreen::updateSelector(void)
614{
615 if (TitleCatalog::get().progress().active) {
616 return;
617 }
618
619 if (!g_bottomScrollEnabled) {
620 size_t count = TitleCatalog::get().getTitleCount(backupKind);
621 if (count > 0) {
622 hid.update(count);
623 directoryList->resetIndex();
624 }
625 }
626 else {
627 directoryList->update();
628 }
629}
630
631void MainScreen::doBackup(size_t fullIndex, size_t cellIndex)
632{

Callers

nothing calls this directly

Calls 5

getFunction · 0.85
progressMethod · 0.45
getTitleCountMethod · 0.45
updateMethod · 0.45
resetIndexMethod · 0.45

Tested by

no test coverage detected