Skip to content

Commit 95d660c

Browse files
committed
DSi-based themes: Remove frame delay when moving cursor
1 parent aeea1d0 commit 95d660c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

romsel_dsimenutheme/arm9/source/fileBrowse.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -542,8 +542,6 @@ void moveCursor(bool right, const std::vector<DirEntry> dirContents, int maxEntr
542542

543543
if (ms().theme != TWLSettings::EThemeSaturn) {
544544
for (int i = 0; i < 8; i++) {
545-
swiWaitForVBlank();
546-
547545
if (right) {
548546
titleboxXdest[ms().secondaryDevice] += titleboxXspacing / 8;
549547
if (i % 3)
@@ -553,6 +551,7 @@ void moveCursor(bool right, const std::vector<DirEntry> dirContents, int maxEntr
553551
if (i % 3)
554552
titlewindowXdest[ms().secondaryDevice]--;
555553
}
554+
swiWaitForVBlank();
556555
}
557556
titleboxXdest[ms().secondaryDevice] = CURPOS * titleboxXspacing;
558557
swiWaitForVBlank();

0 commit comments

Comments
 (0)