-fix for wrong banners and game sound playing when selecting a game that isn't the center one in coverflow.

This commit is contained in:
fledge68 2016-04-13 14:16:41 +00:00
parent 7c39c9e9fc
commit f19accd147
2 changed files with 2 additions and 6 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 MiB

After

Width:  |  Height:  |  Size: 3.1 MiB

View File

@ -438,15 +438,10 @@ void CMenu::_game(bool launch)
if(m_banner.GetZoomSetting() != m_zoom_banner) if(m_banner.GetZoomSetting() != m_zoom_banner)
m_banner.ToggleZoom(); m_banner.ToggleZoom();
s8 startGameSound = -6;
if(!launch) if(!launch)
{
SetupInput(); SetupInput();
_showGame();
m_gameSelected = true;
_playGameSound();
}
s8 startGameSound = 1;
while(!m_exit) while(!m_exit)
{ {
if(startGameSound < 1) if(startGameSound < 1)
@ -454,6 +449,7 @@ void CMenu::_game(bool launch)
if(startGameSound == -5) if(startGameSound == -5)
_showGame(); _showGame();
_mainLoopCommon(true); _mainLoopCommon(true);
if(startGameSound == 0) if(startGameSound == 0)