mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2025-01-11 11:29:09 +01:00
- 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:
parent
0151146562
commit
6cb6c64f77
BIN
out/boot.dol
BIN
out/boot.dol
Binary file not shown.
Before Width: | Height: | Size: 3.3 MiB After Width: | Height: | Size: 3.3 MiB |
@ -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)*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user