Skip to content

Commit

Permalink
Fix startup jingle not playing in 3DS theme with 3DS menu music set
Browse files Browse the repository at this point in the history
  • Loading branch information
RocketRobz committed Nov 26, 2023
1 parent 93facc8 commit 2dba549
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion romsel_dsimenutheme/arm9/source/fileBrowse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2889,7 +2889,7 @@ std::string browseForFile(const std::vector<std::string_view> extensionList) {

if (!musicplaying && ms().theme != TWLSettings::EThemeSaturn) {
if (ms().dsiMusic != 0) {
if ((ms().theme == TWLSettings::ETheme3DS && ms().dsiMusic == 1) || (ms().dsiMusic == 3 && tc().playStartupJingle())) {
if ((ms().theme == TWLSettings::ETheme3DS && (ms().dsiMusic == 1 || ms().dsiMusic == 4)) || (ms().dsiMusic == 3 && tc().playStartupJingle())) {
//logPrint("snd().playStartup()\n");
snd().playStartup();
//logPrint("snd().setStreamDelay(snd().getStartupSoundLength() - tc().startupJingleDelayAdjust())\n");
Expand Down

0 comments on commit 2dba549

Please sign in to comment.