-fixed disc 2 gc games cant be hidden (untested)

This commit is contained in:
fix94.1 2013-03-27 22:46:18 +00:00
parent ceb91ca17b
commit 7024dbd621
2 changed files with 6 additions and 1 deletions

View File

@ -135,7 +135,10 @@ static void Create_GC_List(char *FullPath)
fseek(fp, 6, SEEK_SET);
fread(gc_disc, 1, 1, fp);
if(gc_disc[0])
{
wcslcat(m_gameList.back().title, L" disc 2", 63);
m_gameList.back().settings[0] = 1;
}
}
fclose(fp);
}

View File

@ -1684,6 +1684,8 @@ void CMenu::_initCF(void)
if(element->type == TYPE_CHANNEL && chantitle == HBC_108)
strncpy(element->id, "JODI", 6);
id = element->id;
if(element->type == TYPE_GC_GAME && element->settings[0] == 1) /* disc 2 */
id.append("_2");
}
bool ageLocked = false;
if (ageLock < 19)
@ -1846,7 +1848,7 @@ void CMenu::_initCF(void)
if(numHidCats == 0)
continue;
else if(numSelCats > 0)
continue;
continue;
}
}
int playcount = m_gcfg1.getInt("PLAYCOUNT", id, 0);