Skip to content

Commit 0d77cd1

Browse files
committed
DSi-based themes: Fix select sound only playing in the Saturn theme
1 parent 27805ea commit 0d77cd1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

romsel_dsimenutheme/arm9/source/fileBrowse.cpp

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

539539
bgOperations(false);
540540

541+
snd().playSelect();
542+
541543
if (ms().theme != TWLSettings::EThemeSaturn) {
542544
for (int i = 0; i < 8; i++) {
543545
swiWaitForVBlank();
@@ -555,8 +557,6 @@ void moveCursor(bool right, const std::vector<DirEntry> dirContents, int maxEntr
555557
titleboxXdest[ms().secondaryDevice] = CURPOS * titleboxXspacing;
556558
swiWaitForVBlank();
557559
} else {
558-
snd().playSelect();
559-
560560
if (right) {
561561
titleboxXdest[ms().secondaryDevice] += titleboxXspacing;
562562
titlewindowXdest[ms().secondaryDevice] += 5;

0 commit comments

Comments
 (0)