mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2025-02-02 13:52:36 +01:00
-Making sure the full screen banner play and back buttons don't show up when they're not supposed to when using certain themes.
This commit is contained in:
parent
fb00125328
commit
dcdc39434b
@ -375,6 +375,7 @@ static void setLanguage(int l)
|
||||
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) && !NoGameID(CoverFlow.getHdr()->type);
|
||||
if(!launch)
|
||||
{
|
||||
SetupInput();
|
||||
@ -383,7 +384,7 @@ void CMenu::_game(bool launch)
|
||||
m_gameSelected = true;
|
||||
}
|
||||
|
||||
m_zoom_banner = m_cfg.getBool(_domainFromView(), "show_full_banner", false) && !NoGameID(CoverFlow.getHdr()->type);
|
||||
|
||||
if(m_banner.GetZoomSetting() != m_zoom_banner)
|
||||
m_banner.ToogleZoom();
|
||||
|
||||
@ -530,6 +531,9 @@ void CMenu::_game(bool launch)
|
||||
m_zoom_banner = m_banner.ToogleZoom();
|
||||
m_cfg.setBool(_domainFromView(), "show_full_banner", m_zoom_banner);
|
||||
m_show_zone_game = false;
|
||||
m_btnMgr.hide(m_gameBtnPlayFull);
|
||||
m_btnMgr.hide(m_gameBtnBackFull);
|
||||
m_btnMgr.hide(m_gameBtnToogleFull);
|
||||
}
|
||||
else if(m_btnMgr.selected(m_gameBtnSettings))
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user