-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); fseek(fp, 6, SEEK_SET);
fread(gc_disc, 1, 1, fp); fread(gc_disc, 1, 1, fp);
if(gc_disc[0]) if(gc_disc[0])
{
wcslcat(m_gameList.back().title, L" disc 2", 63); wcslcat(m_gameList.back().title, L" disc 2", 63);
m_gameList.back().settings[0] = 1;
}
} }
fclose(fp); fclose(fp);
} }

View File

@ -1684,6 +1684,8 @@ void CMenu::_initCF(void)
if(element->type == TYPE_CHANNEL && chantitle == HBC_108) if(element->type == TYPE_CHANNEL && chantitle == HBC_108)
strncpy(element->id, "JODI", 6); strncpy(element->id, "JODI", 6);
id = element->id; id = element->id;
if(element->type == TYPE_GC_GAME && element->settings[0] == 1) /* disc 2 */
id.append("_2");
} }
bool ageLocked = false; bool ageLocked = false;
if (ageLock < 19) if (ageLock < 19)