Play the game's SND0.AT3 when a game is selected in the menu and on the "game screen".

This commit is contained in:
Henrik Rydgard committed 2014-06-22 17:02:04 +02:00
1 parent 12cef8fa80
commit cefc0bc96f
16 files changed
+245 -35

No files matched your search

+10
View File
@@ -31,9 +31,19 @@
#include "UI/GameInfoCache.h"
#include "UI/MiscScreens.h"
#include "UI/MainScreen.h"
#include "UI/BackgroundAudio.h"
#include "Core/Host.h"
#include "Core/Config.h"
GameScreen::GameScreen(const std::string &gamePath) : UIDialogScreenWithGameBackground(gamePath) {
SetBackgroundAudioGame(gamePath);
}
GameScreen::~GameScreen() {
SetBackgroundAudioGame("");
}
void GameScreen::CreateViews() {
GameInfo *info = g_gameInfoCache.GetInfo(gamePath_, GAMEINFO_WANTBG | GAMEINFO_WANTSIZE);