mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-11-27 21:54:15 +01:00
-fixed a fatal bug of no games displayed if you dont have any
wiiflow.ini already
This commit is contained in:
parent
b2aef2cdaa
commit
6e11e17230
@ -2196,38 +2196,39 @@ bool CMenu::_loadList(void)
|
||||
u8 sources = 0;
|
||||
gprintf("Creating Gamelist\n");
|
||||
|
||||
if(m_cfg.getBool(PLUGIN_DOMAIN, "source",false))
|
||||
if((m_current_view == COVERFLOW_USB && !m_cfg.has(WII_DOMAIN, "source")) ||
|
||||
m_cfg.getBool(WII_DOMAIN, "source"))
|
||||
{
|
||||
_loadEmuList();
|
||||
m_current_view = COVERFLOW_PLUGIN;
|
||||
sources++;
|
||||
}
|
||||
|
||||
if(m_cfg.getBool(WII_DOMAIN, "source",false))
|
||||
{
|
||||
_loadGameList();
|
||||
m_current_view = COVERFLOW_USB;
|
||||
_loadGameList();
|
||||
sources++;
|
||||
}
|
||||
|
||||
if(m_cfg.getBool(CHANNEL_DOMAIN, "source",false))
|
||||
if((m_current_view == COVERFLOW_PLUGIN && !m_cfg.has(PLUGIN_DOMAIN, "source")) ||
|
||||
m_cfg.getBool(PLUGIN_DOMAIN, "source"))
|
||||
{
|
||||
m_current_view = COVERFLOW_PLUGIN;
|
||||
_loadEmuList();
|
||||
sources++;
|
||||
}
|
||||
if((m_current_view == COVERFLOW_CHANNEL && !m_cfg.has(CHANNEL_DOMAIN, "source")) ||
|
||||
m_cfg.getBool(CHANNEL_DOMAIN, "source"))
|
||||
{
|
||||
m_current_view = COVERFLOW_CHANNEL;
|
||||
_loadChannelList();
|
||||
sources++;
|
||||
}
|
||||
|
||||
if(m_cfg.getBool(GC_DOMAIN, "source",false))
|
||||
if((m_current_view == COVERFLOW_DML && !m_cfg.has(GC_DOMAIN, "source")) ||
|
||||
m_cfg.getBool(GC_DOMAIN, "source"))
|
||||
{
|
||||
_loadDmlList();
|
||||
m_current_view = COVERFLOW_DML;
|
||||
_loadDmlList();
|
||||
sources++;
|
||||
}
|
||||
|
||||
if(m_cfg.getBool(HOMEBREW_DOMAIN, "source",false))
|
||||
if((m_current_view == COVERFLOW_HOMEBREW && !m_cfg.has(HOMEBREW_DOMAIN, "source")) ||
|
||||
m_cfg.getBool(HOMEBREW_DOMAIN, "source"))
|
||||
{
|
||||
_loadHomebrewList();
|
||||
m_current_view = COVERFLOW_HOMEBREW;
|
||||
_loadHomebrewList();
|
||||
sources++;
|
||||
}
|
||||
if(sources > 1)
|
||||
|
Loading…
Reference in New Issue
Block a user