Play the game's SND0.AT3 when a game is selected in the menu and on the "game screen".
This commit is contained in:
parent
12cef8fa80
commit
cefc0bc96f
16 changed files with 245 additions and 35 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue