- added scummvm games to the rom info menu. but only via their title (not crc). Thanks to Wiimpathy!

note you will need v2 of his wiiflow database zip file.
This commit is contained in:
Fledge68 2019-02-26 16:01:14 -06:00
parent 0151146562
commit 6cb6c64f77
2 changed files with 13 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 MiB

After

Width:  |  Height:  |  Size: 3.3 MiB

View File

@ -305,7 +305,19 @@ string Plugin::GetRomName(const dir_discHdr *gameHeader)
replace(ShortName.begin(), ShortName.end(), '_', ' ');
return ShortName;
}
return NULL;// scummvm game
else
{
// ScummVM
char title[1024];
wcstombs(title, gameHeader->title, 63);
string FullName = title;
if(FullName.empty())
return NULL;
string ShortName = FullName.substr(0, FullName.find(" (")).substr(0, FullName.find(" ["));
return ShortName;
}
}
/* Get serial from PS1 header's iso (Borrowed from Retroarch with a few c++ changes)*/