- Fix to make wii games show up in multi source view when one of the sources is a plugin. _loadEmuList() needs to be before _loadGameList() because _loadEmuList() clears gameList and uses it temporarily to make a new gamelist.

This commit is contained in:
fledge68 2013-06-13 20:25:07 +00:00
parent b60e4ee90d
commit 78484fbd40

View File

@ -2197,13 +2197,6 @@ bool CMenu::_loadList(void)
u8 sources = 0; u8 sources = 0;
gprintf("Creating Gamelist\n"); gprintf("Creating Gamelist\n");
if((m_current_view == COVERFLOW_USB && !m_cfg.has(WII_DOMAIN, "source")) ||
m_cfg.getBool(WII_DOMAIN, "source"))
{
m_current_view = COVERFLOW_USB;
_loadGameList();
sources++;
}
if((m_current_view == COVERFLOW_PLUGIN && !m_cfg.has(PLUGIN_DOMAIN, "source")) || if((m_current_view == COVERFLOW_PLUGIN && !m_cfg.has(PLUGIN_DOMAIN, "source")) ||
m_cfg.getBool(PLUGIN_DOMAIN, "source")) m_cfg.getBool(PLUGIN_DOMAIN, "source"))
{ {
@ -2211,6 +2204,13 @@ bool CMenu::_loadList(void)
_loadEmuList(); _loadEmuList();
sources++; sources++;
} }
if((m_current_view == COVERFLOW_USB && !m_cfg.has(WII_DOMAIN, "source")) ||
m_cfg.getBool(WII_DOMAIN, "source"))
{
m_current_view = COVERFLOW_USB;
_loadGameList();
sources++;
}
if((m_current_view == COVERFLOW_CHANNEL && !m_cfg.has(CHANNEL_DOMAIN, "source")) || if((m_current_view == COVERFLOW_CHANNEL && !m_cfg.has(CHANNEL_DOMAIN, "source")) ||
m_cfg.getBool(CHANNEL_DOMAIN, "source")) m_cfg.getBool(CHANNEL_DOMAIN, "source"))
{ {