mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-11-01 00:55:06 +01:00
-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:
parent
e968a81322
commit
a800913deb
BIN
out/boot.dol
BIN
out/boot.dol
Binary file not shown.
Before Width: | Height: | Size: 3.3 MiB After Width: | Height: | Size: 3.3 MiB |
@ -2074,6 +2074,8 @@ void CMenu::_initCF(void)
|
|||||||
char idCats[10];
|
char idCats[10];
|
||||||
strcpy(idCats, m_cat.getString(catDomain, hdr->type == TYPE_PLUGIN? catID : id).c_str());
|
strcpy(idCats, m_cat.getString(catDomain, hdr->type == TYPE_PLUGIN? catID : id).c_str());
|
||||||
u8 numIdCats = strlen(idCats);
|
u8 numIdCats = strlen(idCats);
|
||||||
|
if(numIdCats == 0)
|
||||||
|
m_cat.remove(catDomain, hdr->type == TYPE_PLUGIN? catID : id);
|
||||||
bool inaCat = false;
|
bool inaCat = false;
|
||||||
bool inHiddenCat = false;
|
bool inHiddenCat = false;
|
||||||
int reqMatch = 0;
|
int reqMatch = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user