mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-11-24 04:09:15 +01:00
- fixed reload cache for sourceflow
This commit is contained in:
parent
070612c161
commit
9bdc84de6c
BIN
out/bins/app_booter.bin
Normal file
BIN
out/bins/app_booter.bin
Normal file
Binary file not shown.
BIN
out/bins/ext_booter.bin
Normal file
BIN
out/bins/ext_booter.bin
Normal file
Binary file not shown.
BIN
out/bins/ext_loader.bin
Normal file
BIN
out/bins/ext_loader.bin
Normal file
Binary file not shown.
BIN
out/boot.dol
Normal file
BIN
out/boot.dol
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.1 MiB |
@ -2601,7 +2601,7 @@ const char *CMenu::getBoxPath(const dir_discHdr *element)
|
|||||||
}
|
}
|
||||||
else if(element->type == TYPE_HOMEBREW)
|
else if(element->type == TYPE_HOMEBREW)
|
||||||
return fmt("%s/%s.png", m_boxPicDir.c_str(), strrchr(element->path, '/') + 1);
|
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 *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;
|
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)
|
else if(element->type == TYPE_HOMEBREW)
|
||||||
return fmt("%s/icon.png", element->path);
|
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 *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;
|
const char *coverImg = strrchr(element->path, '/') + 1;
|
||||||
|
@ -149,7 +149,7 @@ void CMenu::_CfgSrc(void)
|
|||||||
}
|
}
|
||||||
else if (m_btnMgr.selected(m_cfgsrcBtnClearSF))
|
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;
|
m_load_view = true;
|
||||||
}
|
}
|
||||||
else if (m_btnMgr.selected(m_cfgsrcBtnMultisource) && !m_sourceflow)
|
else if (m_btnMgr.selected(m_cfgsrcBtnMultisource) && !m_sourceflow)
|
||||||
|
Loading…
Reference in New Issue
Block a user