Skip to content

Commit

Permalink
DSi-based themes: Fix select sound only playing in the Saturn theme
Browse files Browse the repository at this point in the history
  • Loading branch information
RocketRobz committed Sep 26, 2024
1 parent 27805ea commit 0d77cd1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions romsel_dsimenutheme/arm9/source/fileBrowse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -538,6 +538,8 @@ void moveCursor(bool right, const std::vector<DirEntry> dirContents, int maxEntr

bgOperations(false);

snd().playSelect();

if (ms().theme != TWLSettings::EThemeSaturn) {
for (int i = 0; i < 8; i++) {
swiWaitForVBlank();
Expand All @@ -555,8 +557,6 @@ void moveCursor(bool right, const std::vector<DirEntry> dirContents, int maxEntr
titleboxXdest[ms().secondaryDevice] = CURPOS * titleboxXspacing;
swiWaitForVBlank();
} else {
snd().playSelect();

if (right) {
titleboxXdest[ms().secondaryDevice] += titleboxXspacing;
titlewindowXdest[ms().secondaryDevice] += 5;
Expand Down

0 comments on commit 0d77cd1

Please sign in to comment.