Skip to content

Commit

Permalink
DSi-based themes: Remove frame delay when moving cursor
Browse files Browse the repository at this point in the history
  • Loading branch information
RocketRobz committed Sep 27, 2024
1 parent aeea1d0 commit 95d660c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions romsel_dsimenutheme/arm9/source/fileBrowse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -542,8 +542,6 @@ void moveCursor(bool right, const std::vector<DirEntry> dirContents, int maxEntr

if (ms().theme != TWLSettings::EThemeSaturn) {
for (int i = 0; i < 8; i++) {
swiWaitForVBlank();

if (right) {
titleboxXdest[ms().secondaryDevice] += titleboxXspacing / 8;
if (i % 3)
Expand All @@ -553,6 +551,7 @@ void moveCursor(bool right, const std::vector<DirEntry> dirContents, int maxEntr
if (i % 3)
titlewindowXdest[ms().secondaryDevice]--;
}
swiWaitForVBlank();
}
titleboxXdest[ms().secondaryDevice] = CURPOS * titleboxXspacing;
swiWaitForVBlank();
Expand Down

0 comments on commit 95d660c

Please sign in to comment.