diff --git a/src/main.cpp b/src/main.cpp index 626ed49..554cc6d 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1055,9 +1055,9 @@ int main() { } else if (input.get(TRIGGER, PAD_BUTTON_X) && menu == mainMenu) { configMenu(); sortn = {gettext("None"), gettext("Name"), gettext("Storage"), gettext("Storage+Name")}; - wiiutitles = loadWiiUTitles(1); + unloadTitles(wiititles, vWiiTitlesCount); + vWiiTitlesCount = 0; wiititles = loadWiiTitles(); - sortTitle(wiiutitles, wiiutitles + wiiuTitlesCount, tsort, sortAscending); sortTitle(wiititles, wiititles + vWiiTitlesCount, tsort, sortAscending); } }