mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-04-10 19:15:13 +00:00
(Android) The launch sound is no longer played if the launch screen is set as disabled
This commit is contained in:
parent
bdcdbeca86
commit
7f1f7b7663
|
@ -1049,7 +1049,12 @@ void ViewController::launch(FileData* game)
|
||||||
if (durationString != "disabled" && durationString != "popup")
|
if (durationString != "disabled" && durationString != "popup")
|
||||||
mWindow->displayLaunchScreen(game->getSourceFileData());
|
mWindow->displayLaunchScreen(game->getSourceFileData());
|
||||||
|
|
||||||
|
#if defined(__ANDROID__)
|
||||||
|
if (durationString != "disabled")
|
||||||
|
NavigationSounds::getInstance().playThemeNavigationSound(LAUNCHSOUND);
|
||||||
|
#else
|
||||||
NavigationSounds::getInstance().playThemeNavigationSound(LAUNCHSOUND);
|
NavigationSounds::getInstance().playThemeNavigationSound(LAUNCHSOUND);
|
||||||
|
#endif
|
||||||
|
|
||||||
// This is just a dummy animation in order for the launch screen or notification popup
|
// This is just a dummy animation in order for the launch screen or notification popup
|
||||||
// to be displayed briefly, and for the navigation sound playing to be able to complete.
|
// to be displayed briefly, and for the navigation sound playing to be able to complete.
|
||||||
|
|
Loading…
Reference in a new issue