mirror of
https://github.com/suchmememanyskill/TegraExplorer.git
synced 2024-11-29 15:22:09 +00:00
Combat menu breakage due to speedmode™️
This commit is contained in:
parent
2cac144ba8
commit
0bf3b35582
1 changed files with 1 additions and 1 deletions
|
@ -160,7 +160,7 @@ int menu_make(menu_entry *entries, int amount, char *toptext){
|
||||||
refresh = true;
|
refresh = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (refresh || currentfolder == NULL){
|
if (refresh || currentfolder == NULL || !calculatedamount){
|
||||||
for (int i = 0 + offset; i < amount && i < 40 + offset; i++)
|
for (int i = 0 + offset; i < amount && i < 40 + offset; i++)
|
||||||
if (!(entries[i].property & ISHIDE))
|
if (!(entries[i].property & ISHIDE))
|
||||||
_printentry(&entries[i], (i == currentpos), refresh, toptext);
|
_printentry(&entries[i], (i == currentpos), refresh, toptext);
|
||||||
|
|
Loading…
Reference in a new issue