diff --git a/UI/EmuScreen.cpp b/UI/EmuScreen.cpp index 0122b94533..ba02f6688f 100644 --- a/UI/EmuScreen.cpp +++ b/UI/EmuScreen.cpp @@ -52,6 +52,7 @@ #include "Core/HLE/__sceAudio.h" #include "UI/ui_atlas.h" +#include "UI/BackgroundAudio.h" #include "UI/OnScreenDisplay.h" #include "UI/GamepadEmu.h" #include "UI/PauseScreen.h" @@ -109,6 +110,8 @@ void EmuScreen::bootGame(const std::string &filename) { return; } + SetBackgroundAudioGame(filename); + //pre-emptive loading of game specific config if possible, to get all the settings GameInfo *info = g_gameInfoCache->GetInfo(NULL, filename, 0); if (info && !info->id.empty()) { diff --git a/UI/MainScreen.cpp b/UI/MainScreen.cpp index 5d30ce364c..41da38df07 100644 --- a/UI/MainScreen.cpp +++ b/UI/MainScreen.cpp @@ -928,7 +928,6 @@ void MainScreen::sendMessage(const char *message, const char *value) { if (!strcmp(message, "boot")) { screenManager()->switchScreen(new EmuScreen(value)); - SetBackgroundAudioGame(value); } if (!strcmp(message, "control mapping")) { UpdateUIState(UISTATE_MENU);