Skip to content

Commit

Permalink
Fix #2463
Browse files Browse the repository at this point in the history
  • Loading branch information
RocketRobz committed Aug 28, 2024
1 parent 2d92126 commit 02aec83
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions romsel_aktheme/arm9/source/fileBrowse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,12 @@ void getDirectoryContents(std::vector<DirEntry> &dirContents, const std::vector<
backFound = true;
backPos = file_count;
file_count++;

iconsToDisplay++;
if (iconsToDisplay > 4) iconsToDisplay = 4;
smallIconsToDisplay++;
if (smallIconsToDisplay > 8) smallIconsToDisplay = 8;

fileStartPos++;
}
emplaceBackDirContent =
Expand Down

0 comments on commit 02aec83

Please sign in to comment.