-disabled extended list check by default and also if

it is enabled it will only be used for wii games since it
can break other coverflow views from working
This commit is contained in:
fix94.1 2012-06-02 18:33:49 +00:00
parent c268e13a8e
commit 4902807049
2 changed files with 3 additions and 5 deletions

View File

@ -51,10 +51,9 @@ void CachedList<T>::Load(string path, string containing, string m_lastLanguage,
if(noDB) gprintf("A database was not found!\n"); if(noDB) gprintf("A database was not found!\n");
if(mtimes || ditimes) gprintf("The WBFS folder was modified!\nCache date: %i\nFolder date: %i\n", cache.st_mtime, filestat.st_mtime); if(mtimes || ditimes) gprintf("The WBFS folder was modified!\nCache date: %i\nFolder date: %i\n", cache.st_mtime, filestat.st_mtime);
if(m_extcheck && !m_update) if(m_extcheck && !m_update && strcasestr(path.c_str(), "wbfs") != NULL)
{ {
bool m_chupdate = false; bool m_chupdate = false;
DIR *dir = opendir(path.c_str()); DIR *dir = opendir(path.c_str());
struct dirent *entry; struct dirent *entry;
while((entry = readdir(dir)) != NULL) while((entry = readdir(dir)) != NULL)
@ -62,7 +61,6 @@ void CachedList<T>::Load(string path, string containing, string m_lastLanguage,
m_discinf = sfmt("%s/%s", path.c_str(), entry->d_name); m_discinf = sfmt("%s/%s", path.c_str(), entry->d_name);
if(stat(m_discinf.c_str(), &discinfo) != -1) if(stat(m_discinf.c_str(), &discinfo) != -1)
m_chupdate = discinfo.st_mtime > cache.st_mtime; m_chupdate = discinfo.st_mtime > cache.st_mtime;
if(m_chupdate) if(m_chupdate)
break; break;
} }

View File

@ -392,7 +392,7 @@ void CMenu::init(void)
m_loc.load(fmt("%s/%s.ini", m_languagesDir.c_str(), m_curLanguage.c_str())); m_loc.load(fmt("%s/%s.ini", m_languagesDir.c_str(), m_curLanguage.c_str()));
} }
bool extcheck = m_cfg.getBool("GENERAL", "extended_list_check", true); bool extcheck = m_cfg.getBool("GENERAL", "extended_list_check", false);
m_gameList.Init(m_listCacheDir, m_settingsDir, m_loc.getString(m_curLanguage, "gametdb_code", "EN"), m_DMLgameDir, extcheck); m_gameList.Init(m_listCacheDir, m_settingsDir, m_loc.getString(m_curLanguage, "gametdb_code", "EN"), m_DMLgameDir, extcheck);