Skip to content

Commit

Permalink
DSi theme: Fix fading in quickly when dropdown anim. plays
Browse files Browse the repository at this point in the history
  • Loading branch information
RocketRobz committed Mar 22, 2024
1 parent 50e72f4 commit b3fb667
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions romsel_dsimenutheme/arm9/source/fileBrowse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3040,12 +3040,17 @@ std::string browseForFile(const std::vector<std::string_view> extensionList) {
}
nowLoadingDisplaying = false;
whiteScreen = false;
fadeType = true; // Fade in from white
for (int i = 0; i < 5; i++) {
bgOperations(true);
}
if (!musicplaying && ms().theme == TWLSettings::EThemeDSi) {
fadeSpeed = false; // Slow fade speed
fadeType = true; // Fade in from white
for (int i = 0; i < 15; i++) {
bgOperations(true);
}
} else {
fadeType = true; // Fade in from white
for (int i = 0; i < 5; i++) {
bgOperations(true);
}
}
displayGameIcons = true;
clearText(false);
Expand Down

0 comments on commit b3fb667

Please sign in to comment.