sorry guys that I cant really work on wiiflow atm, too much to do...

-added devo disc 2 checks for gamenames gam2.iso and disc2.iso, so now
we check for gam1.iso, gam2.iso and disc2.iso, if one of those ones are
found in the same folder as disc 1 then devo gets the info about it
This commit is contained in:
fix94.1 2013-03-11 20:23:24 +00:00
parent dbfbf30e61
commit 00ddaeee94

View File

@ -236,9 +236,21 @@ void DEVO_SetOptions(const char *isopath, const char *gameID, bool memcard_emu,
strncpy(iso2path, isopath, 255);
char *ptz = strstr(iso2path, "game.iso");
if(ptz != NULL)
{
strncpy(ptz, "gam1.iso", 8);
f = fopen(iso2path, "rb");
if(f == NULL)
{
strncpy(ptz, "gam2.iso", 8);
f = fopen(iso2path, "rb");
if(f == NULL)
{
strncpy(ptz, "disc2.iso", 9);
f = fopen(iso2path, "rb");
}
}
}
if(f != NULL)
{
gprintf("Devolution: 2nd ISO File for Multi DVD Game %s\n", iso2path);