The launch sound is now always stopped when returning to ES-DE after a game launch

This commit is contained in:
Leon Styhre 2025-03-16 21:36:37 +01:00
parent 7f1f7b7663
commit 8db3b59258

View file

@ -1061,6 +1061,7 @@ void ViewController::launch(FileData* game)
// During this time period, all user input is blocked.
setAnimation(new LambdaAnimation([](float t) {}, duration), 0, [this, game] {
game->launchGame();
AudioManager::getInstance().stop();
// If the launch screen is disabled then this will do nothing.
mWindow->closeLaunchScreen();
onFileChanged(game, true);