-oops forgot to properly recompile the booter dol

-added new option to wiiflow.ini [GENERAL] section,
"display_music_info" (enabled by default), if you disable it the
information on top of the screen if music got changed will be hidden
This commit is contained in:
fix94.1 2012-09-29 11:41:47 +00:00
parent c387ea2c0f
commit 12d8f86ced
3 changed files with 4 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 148 KiB

After

Width:  |  Height:  |  Size: 148 KiB

View File

@ -146,6 +146,7 @@ CMenu::CMenu(CVideo &vid) :
m_Emulator_boot = false;
m_banner = new BannerWindow;
m_gameSound.SetVoice(1);
m_music_info = true;
}
void CMenu::init(void)
@ -438,6 +439,7 @@ void CMenu::init(void)
m_btnMgr.init(m_vid);
MusicPlayer.Init(m_cfg, m_musicDir, sfmt("%s/music", m_themeDataDir.c_str()));
m_music_info = m_cfg.getBool("GENERAL", "display_music_info", true);
_buildMenus();
@ -1906,7 +1908,7 @@ void CMenu::_mainLoopCommon(bool withCF, bool adjusting)
MusicPlayer.Tick(m_video_playing || (m_gameSelected &&
m_gameSound.IsLoaded()) || m_gameSound.IsPlaying());
if(MusicPlayer.SongChanged())
if(MusicPlayer.SongChanged() && m_music_info)
{
m_btnMgr.setText(m_mainLblCurMusic, MusicPlayer.GetFileName(), true);
m_btnMgr.show(m_mainLblCurMusic);

View File

@ -76,6 +76,7 @@ private:
bool m_directLaunch;
bool m_locked;
bool m_favorites;
bool m_music_info;
s16 m_showtimer;
string m_curLanguage;
string m_curGameId;