Add option "update_cache" in GENERAL section, to force cache update at startup

This commit is contained in:
entropy 2012-01-29 04:25:45 +00:00
parent 713d8f5616
commit 1583e55de6

View File

@ -197,6 +197,8 @@ int CMenu::main(void)
break; break;
} }
m_gameList.SetLanguage(lang); m_gameList.SetLanguage(lang);
if (m_cfg.getBool("GENERAL", "update_cache", false))
UpdateCache();
_loadList(); _loadList();
_showMain(); _showMain();