-fix to only reset categories when a new gamelist is needed unless a source menu btn has already set categories.

This commit is contained in:
fledge68 2018-06-02 23:28:31 +00:00
parent de868d15c8
commit a566176433
2 changed files with 4 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 MiB

After

Width:  |  Height:  |  Size: 3.3 MiB

View File

@ -149,7 +149,7 @@ void CMenu::_showCF(bool refreshList)
}
/* setup for filter list and coverflow stuff */
if(m_clearCats)// clear categories unless a source menu btn has selected one
if(refreshList && m_clearCats)// clear categories unless a source menu btn has selected one
{
// do not clear hidden categories to keep games hidden
m_cat.remove("GENERAL", "selected_categories");
@ -471,7 +471,10 @@ int CMenu::main(void)
bUsed = true;
_setBg(m_mainBg, m_mainBgLQ);
if(m_refreshGameList)
{
m_refreshGameList = false;
_initCF();
}
}
else if(m_btnMgr.selected(m_mainBtnNext) || m_btnMgr.selected(m_mainBtnPrev))
{