From 78484fbd4070607befe61f334c18663a1f09219f Mon Sep 17 00:00:00 2001 From: fledge68 Date: Thu, 13 Jun 2013 20:25:07 +0000 Subject: [PATCH] - 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. --- source/menu/menu.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/source/menu/menu.cpp b/source/menu/menu.cpp index 5cf5fad0..95abc403 100644 --- a/source/menu/menu.cpp +++ b/source/menu/menu.cpp @@ -2197,13 +2197,6 @@ bool CMenu::_loadList(void) u8 sources = 0; 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")) || m_cfg.getBool(PLUGIN_DOMAIN, "source")) { @@ -2211,6 +2204,13 @@ bool CMenu::_loadList(void) _loadEmuList(); 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")) || m_cfg.getBool(CHANNEL_DOMAIN, "source")) {