diff --git a/es-app/src/views/ViewController.cpp b/es-app/src/views/ViewController.cpp index 2089dbd7d..9c81cebe9 100644 --- a/es-app/src/views/ViewController.cpp +++ b/es-app/src/views/ViewController.cpp @@ -1061,7 +1061,12 @@ 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(); +#if defined(__ANDROID__) AudioManager::getInstance().stop(); +#else + if (!Settings::getInstance()->getBool("RunInBackground")) + AudioManager::getInstance().stop(); +#endif // If the launch screen is disabled then this will do nothing. mWindow->closeLaunchScreen(); onFileChanged(game, true);