From 0bf3b35582a3464e89d66faf1e8bec3c8ba0c413 Mon Sep 17 00:00:00 2001 From: "Such Meme, Many Skill" Date: Sat, 2 May 2020 14:20:55 +0200 Subject: [PATCH] Combat menu breakage due to speedmode:tm: --- source/tegraexplorer/gfx/menu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/tegraexplorer/gfx/menu.c b/source/tegraexplorer/gfx/menu.c index 99fc49c..7865911 100644 --- a/source/tegraexplorer/gfx/menu.c +++ b/source/tegraexplorer/gfx/menu.c @@ -160,7 +160,7 @@ int menu_make(menu_entry *entries, int amount, char *toptext){ refresh = true; } - if (refresh || currentfolder == NULL){ + if (refresh || currentfolder == NULL || !calculatedamount){ for (int i = 0 + offset; i < amount && i < 40 + offset; i++) if (!(entries[i].property & ISHIDE)) _printentry(&entries[i], (i == currentpos), refresh, toptext);