mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-11-27 13:44:15 +01:00
-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:
parent
c387ea2c0f
commit
12d8f86ced
Binary file not shown.
Before Width: | Height: | Size: 148 KiB After Width: | Height: | Size: 148 KiB |
@ -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);
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user