mirror of
https://github.com/DarkStore-3DS/DarkStore.git
synced 2026-12-06 11:17:18 +00:00
MainScreen: check this->entries.size() > 0.
This commit is contained in:
1 parent
871d0722eb
commit
6d0a923186
2 files changed
+3
-3
No files matched your search
@@ -238,11 +238,11 @@ void MainScreen::Logic(u32 hDown, u32 hHeld, touchPosition touch) {
|
||||
|
||||
switch(this->storeMode) {
|
||||
case 0:
|
||||
if (this->store && this->store->GetValid()) StoreUtils::EntryHandle(this->showMarks, this->fetchDown, this->screenshotFetch, this->storeMode);
|
||||
if (this->store && this->store->GetValid() && this->entries.size() > 0) StoreUtils::EntryHandle(this->showMarks, this->fetchDown, this->screenshotFetch, this->storeMode);
|
||||
break;
|
||||
|
||||
case 1:
|
||||
if (this->store && this->store->GetValid()) StoreUtils::DownloadHandle(this->store, this->entries[this->store->GetEntry()], this->dwnldList, this->storeMode, this->meta, this->lastMode, this->smallDelay);
|
||||
if (this->store && this->store->GetValid() && this->entries.size() > 0) StoreUtils::DownloadHandle(this->store, this->entries[this->store->GetEntry()], this->dwnldList, this->storeMode, this->meta, this->lastMode, this->smallDelay);
|
||||
break;
|
||||
|
||||
case 2:
|
||||
|
||||
Reference in new issue
Block a user