-now removing games from categories_lite.ini if it doesn't have any category set. this should keep categories_lite.ini small and less cluttered.

This commit is contained in:
Fledge68 2018-09-26 14:49:55 -05:00
parent e968a81322
commit a800913deb
2 changed files with 2 additions and 0 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 MiB

After

Width:  |  Height:  |  Size: 3.3 MiB

View File

@ -2074,6 +2074,8 @@ void CMenu::_initCF(void)
char idCats[10];
strcpy(idCats, m_cat.getString(catDomain, hdr->type == TYPE_PLUGIN? catID : id).c_str());
u8 numIdCats = strlen(idCats);
if(numIdCats == 0)
m_cat.remove(catDomain, hdr->type == TYPE_PLUGIN? catID : id);
bool inaCat = false;
bool inHiddenCat = false;
int reqMatch = 0;