mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-12-28 12:51:52 +01:00
- fix game info plugin databases for systems that share the same database files by adding [COMBINED] into platform ini which will associate the platform name with the database name. for example: genesis=megadrive, famicom=nes. you must have the updated platform ini for this commit to work.
This commit is contained in:
parent
e246276188
commit
d991834789
BIN
out/boot.dol
BIN
out/boot.dol
Binary file not shown.
Before Width: | Height: | Size: 3.4 MiB After Width: | Height: | Size: 3.4 MiB |
@ -359,13 +359,13 @@ void CMenu::_textGameInfo(void)
|
||||
if(strlen(platformName) == 0)
|
||||
return;// no platform name found to match plugin magic #
|
||||
|
||||
if(!strcasecmp(platformName, "mame") || !strcasecmp(platformName, "fba_pgm") || !strcasecmp(platformName, "fba_psikyo") || !strcasecmp(platformName, "fb_alpha"))
|
||||
snprintf(platformName, sizeof(platformName), "%s", "arcade");
|
||||
if(!strcasecmp(platformName, "turbografx"))
|
||||
snprintf(platformName, sizeof(platformName), "%s", "pcengine");
|
||||
if(!strcasecmp(platformName, "genesis"))
|
||||
snprintf(platformName, sizeof(platformName), "%s", "megadrive");
|
||||
|
||||
/* check COMBINED for database platform name */
|
||||
string newName = m_platform.getString("COMBINED", platformName);
|
||||
if(newName.empty())
|
||||
m_platform.remove("COMBINED", platformName);
|
||||
else
|
||||
snprintf(platformName, sizeof(platformName), "%s", newName.c_str());
|
||||
|
||||
/* Get Game's crc/serial to be used as gameID by searching platformName.ini file */
|
||||
string romID;// this will be the crc or serial
|
||||
string ShortName = m_plugin.GetRomName(GameHdr);// if scummvm game then shortname=NULL
|
||||
|
Loading…
Reference in New Issue
Block a user