-minor change to the previous commit when direct launching a game by holding B and pressing A.

This commit is contained in:
fledge68 2016-04-13 15:52:33 +00:00
parent f19accd147
commit 0eb210b7fa
2 changed files with 6 additions and 6 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 MiB

After

Width:  |  Height:  |  Size: 3.1 MiB

View File

@ -425,7 +425,6 @@ bool CMenu::_startVideo()
void CMenu::_game(bool launch)
{
m_gcfg1.load(fmt("%s/" GAME_SETTINGS1_FILENAME, m_settingsDir.c_str()));
m_zoom_banner = m_cfg.getBool(_domainFromView(), "show_full_banner", false);
if(NoGameID(CoverFlow.getHdr()->type))
{
@ -438,8 +437,8 @@ void CMenu::_game(bool launch)
if(m_banner.GetZoomSetting() != m_zoom_banner)
m_banner.ToggleZoom();
s8 startGameSound = -6;
if(!launch)
m_gcfg1.load(fmt("%s/" GAME_SETTINGS1_FILENAME, m_settingsDir.c_str()));
s8 startGameSound = -7;
SetupInput();
while(!m_exit)
@ -450,6 +449,7 @@ void CMenu::_game(bool launch)
if(startGameSound == -5)
_showGame();
if(!launch)
_mainLoopCommon(true);
if(startGameSound == 0)
@ -609,7 +609,7 @@ void CMenu::_game(bool launch)
_extractBnr(hdr);
if(CurrentBanner.IsValid())
_extractBannerTitle(GetLanguage(m_loc.getString(m_curLanguage, "gametdb_code", "EN").c_str()));
if(hdr->type != TYPE_HOMEBREW && hdr->type != TYPE_PLUGIN)
if(hdr->type == TYPE_WII_GAME || hdr->type == TYPE_CHANNEL)
{
if(Playlog_Update(hdr->id, banner_title) < 0)
Playlog_Delete();