mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-11-01 00:55:06 +01:00
-fixed disc 2 gc games cant be hidden (untested)
This commit is contained in:
parent
ceb91ca17b
commit
7024dbd621
@ -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);
|
||||||
}
|
}
|
||||||
|
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user