- fixed reload cache for sourceflow

This commit is contained in:
fledge68 2016-04-04 20:18:16 +00:00
parent 070612c161
commit 9bdc84de6c
6 changed files with 3 additions and 3 deletions

BIN
out/bins/app_booter.bin Normal file

Binary file not shown.

BIN
out/bins/ext_booter.bin Normal file

Binary file not shown.

BIN
out/bins/ext_loader.bin Normal file

Binary file not shown.

BIN
out/boot.dol Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 MiB

View File

@ -2601,7 +2601,7 @@ const char *CMenu::getBoxPath(const dir_discHdr *element)
}
else if(element->type == TYPE_HOMEBREW)
return fmt("%s/%s.png", m_boxPicDir.c_str(), strrchr(element->path, '/') + 1);
else if(element->type == TYPE_SOURCE)
else if(element->type == TYPE_SOURCE)//sourceflow
{
const char *m_sflowDir = m_cfg.getString("GENERAL", "dir_Source", fmt("%s/source_menu", m_dataDir.c_str())).c_str();
const char *coverImg = strrchr(element->path, '/') + 1;
@ -2627,7 +2627,7 @@ const char *CMenu::getFrontPath(const dir_discHdr *element)
}
else if(element->type == TYPE_HOMEBREW)
return fmt("%s/icon.png", element->path);
else if(element->type == TYPE_SOURCE)
else if(element->type == TYPE_SOURCE)//sourceflow
{
const char *m_sflowDir = m_cfg.getString("GENERAL", "dir_Source", fmt("%s/source_menu", m_dataDir.c_str())).c_str();
const char *coverImg = strrchr(element->path, '/') + 1;

View File

@ -149,7 +149,7 @@ void CMenu::_CfgSrc(void)
}
else if (m_btnMgr.selected(m_cfgsrcBtnClearSF))
{
fsop_deleteFolder(fmt("%s/sourceflow", m_cacheDir.c_str()));
m_cfg.setBool("SOURCEFLOW", "update_cache", true);
m_load_view = true;
}
else if (m_btnMgr.selected(m_cfgsrcBtnMultisource) && !m_sourceflow)