From 87d895e304a09b685e6266ffcfeb33e922e72985 Mon Sep 17 00:00:00 2001 From: "fix94.1" Date: Sun, 19 Aug 2012 10:22:31 +0000 Subject: [PATCH] -oops fail -set wiiflow optimize level to -O3 (4mb dol who cares :P) --- Makefile | 2 +- source/menu/menu_game.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 74906505..bfa6dc5f 100644 --- a/Makefile +++ b/Makefile @@ -55,7 +55,7 @@ ios := 249 #--------------------------------------------------------------------------------- # options for code generation #--------------------------------------------------------------------------------- -CFLAGS = -g -O2 -Wall -Wextra -Wno-multichar $(MACHDEP) $(INCLUDE) -DHAVE_CONFIG_H +CFLAGS = -g -O3 -Wall -Wextra -Wno-multichar $(MACHDEP) $(INCLUDE) -DHAVE_CONFIG_H CXXFLAGS = $(CFLAGS) LDFLAGS = -g $(MACHDEP) -Wl,-Map,$(notdir $@).map,--section-start,.init=0x80A00000,-wrap,malloc,-wrap,free,-wrap,memalign,-wrap,calloc,-wrap,realloc,-wrap,malloc_usable_size diff --git a/source/menu/menu_game.cpp b/source/menu/menu_game.cpp index 5356ea64..f36ebaf9 100644 --- a/source/menu/menu_game.cpp +++ b/source/menu/menu_game.cpp @@ -387,7 +387,7 @@ void CMenu::_game(bool launch) m_gameSelected = true; } - m_zoom_banner = m_cfg.getBool(_domainFromView(), "show_full_banner", false); + m_zoom_banner = m_cfg.getBool(_domainFromView(), "show_full_banner", false) && !NoGameID(m_cf.getHdr()->type); if(m_banner->GetZoomSetting() != m_zoom_banner) m_banner->ToogleZoom(); @@ -513,7 +513,7 @@ void CMenu::_game(bool launch) m_banner->DeleteBanner(); break; } - else if(m_btnMgr.selected(m_gameBtnToogle) || m_btnMgr.selected(m_gameBtnToogleFull)) + else if((m_btnMgr.selected(m_gameBtnToogle) || m_btnMgr.selected(m_gameBtnToogleFull)) && !NoGameID(m_cf.getHdr()->type)) { m_zoom_banner = m_banner->ToogleZoom(); m_cfg.setBool(_domainFromView(), "show_full_banner", m_zoom_banner); @@ -639,7 +639,7 @@ void CMenu::_game(bool launch) m_banner->DeleteBanner(true); _setBg(m_mainBg, m_mainBgLQ); } - if(m_show_zone_game && (!m_zoom_banner || NoGameID(m_cf.getHdr()->type)) + if(m_show_zone_game && !m_zoom_banner) { bool b = m_gcfg1.getBool("FAVORITES", id, false); m_btnMgr.show(b ? m_gameBtnFavoriteOn : m_gameBtnFavoriteOff);