mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-11-01 00:55:06 +01:00
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:
parent
dbfbf30e61
commit
00ddaeee94
@ -236,9 +236,21 @@ void DEVO_SetOptions(const char *isopath, const char *gameID, bool memcard_emu,
|
|||||||
strncpy(iso2path, isopath, 255);
|
strncpy(iso2path, isopath, 255);
|
||||||
char *ptz = strstr(iso2path, "game.iso");
|
char *ptz = strstr(iso2path, "game.iso");
|
||||||
if(ptz != NULL)
|
if(ptz != NULL)
|
||||||
|
{
|
||||||
strncpy(ptz, "gam1.iso", 8);
|
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");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
f = fopen(iso2path, "rb");
|
|
||||||
if(f != NULL)
|
if(f != NULL)
|
||||||
{
|
{
|
||||||
gprintf("Devolution: 2nd ISO File for Multi DVD Game %s\n", iso2path);
|
gprintf("Devolution: 2nd ISO File for Multi DVD Game %s\n", iso2path);
|
||||||
|
Loading…
Reference in New Issue
Block a user