From 95d660c3332ffa3420b18b03c38f1687b70f4139 Mon Sep 17 00:00:00 2001 From: RocketRobz Date: Thu, 26 Sep 2024 18:35:46 -0600 Subject: [PATCH] DSi-based themes: Remove frame delay when moving cursor --- romsel_dsimenutheme/arm9/source/fileBrowse.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/romsel_dsimenutheme/arm9/source/fileBrowse.cpp b/romsel_dsimenutheme/arm9/source/fileBrowse.cpp index a3ceff86bc..8a35637fa5 100644 --- a/romsel_dsimenutheme/arm9/source/fileBrowse.cpp +++ b/romsel_dsimenutheme/arm9/source/fileBrowse.cpp @@ -542,8 +542,6 @@ void moveCursor(bool right, const std::vector 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) @@ -553,6 +551,7 @@ void moveCursor(bool right, const std::vector dirContents, int maxEntr if (i % 3) titlewindowXdest[ms().secondaryDevice]--; } + swiWaitForVBlank(); } titleboxXdest[ms().secondaryDevice] = CURPOS * titleboxXspacing; swiWaitForVBlank();