mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-12-24 19:01:56 +01:00
- Now wiiflow looks for source_menu.ini in the current theme folder first and then the source_menu folder. so for themes that have their own source menu btns just put the images and sourc_menu.ini in the theme folder.
This commit is contained in:
parent
9f9f351485
commit
f2db4d8eaf
@ -197,7 +197,8 @@ bool CMenu::_Source()
|
||||
DIR *pdir;
|
||||
struct dirent *pent;
|
||||
if(!m_source.loaded())
|
||||
m_source.load(fmt("%s/%s", m_sourceDir.c_str(), SOURCE_FILENAME));
|
||||
if(!m_source.load(fmt("%s/%s", m_themeDataDir.c_str(), SOURCE_FILENAME)))
|
||||
m_source.load(fmt("%s/%s", m_sourceDir.c_str(), SOURCE_FILENAME));
|
||||
|
||||
pdir = opendir(m_pluginsDir.c_str());
|
||||
Config m_plugin_cfg;
|
||||
@ -656,7 +657,8 @@ void CMenu::_initSourceMenu()
|
||||
m_sourceDir = m_cfg.getString("GENERAL", "dir_Source", fmt("%s/source_menu", m_dataDir.c_str()));
|
||||
|
||||
if(!m_source.loaded())
|
||||
m_source.load(fmt("%s/%s", m_sourceDir.c_str(), SOURCE_FILENAME));
|
||||
if(!m_source.load(fmt("%s/%s", m_themeDataDir.c_str(), SOURCE_FILENAME)))
|
||||
m_source.load(fmt("%s/%s", m_sourceDir.c_str(), SOURCE_FILENAME));
|
||||
|
||||
int row;
|
||||
int col;
|
||||
|
Loading…
Reference in New Issue
Block a user