mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-12-24 19:01:56 +01:00
-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:
parent
c268e13a8e
commit
4902807049
@ -50,11 +50,10 @@ void CachedList<T>::Load(string path, string containing, string m_lastLanguage,
|
||||
if(update_lang) gprintf("Languages are different!\nOld language string: %s\nNew language string: %s\n", m_lastLanguage.c_str(), m_curLanguage.c_str());
|
||||
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(m_extcheck && !m_update)
|
||||
|
||||
if(m_extcheck && !m_update && strcasestr(path.c_str(), "wbfs") != NULL)
|
||||
{
|
||||
bool m_chupdate = false;
|
||||
|
||||
DIR *dir = opendir(path.c_str());
|
||||
struct dirent *entry;
|
||||
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);
|
||||
if(stat(m_discinf.c_str(), &discinfo) != -1)
|
||||
m_chupdate = discinfo.st_mtime > cache.st_mtime;
|
||||
|
||||
if(m_chupdate)
|
||||
break;
|
||||
}
|
||||
|
@ -392,7 +392,7 @@ void CMenu::init(void)
|
||||
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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user