- a fix to only show one cover for multi disks emu games when using the rom database and not. issue #274.

This commit is contained in:
Fledge68 2021-09-13 13:55:27 -05:00
parent 01cb1b47fc
commit 346f480b3d
4 changed files with 10 additions and 2 deletions

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 MiB

After

Width:  |  Height:  |  Size: 4.3 MiB

View File

@ -1,6 +1,6 @@
#define APP_NAME "WiiFlow WFL"
#define APP_VERSION "5.5.0 beta 3"
#define APP_VERSION "5.5.0 beta 4"
#define APP_DATA_DIR "wiiflow"
#define APPS_DIR "apps/wiiflow"

View File

@ -249,12 +249,19 @@ static void Create_Channel_List()
}
/* add plugin rom, song, or video to the list. */
string PrevName;
static void Add_Plugin_Game(char *FullPath)
{
/* Get roms's title without the extra ()'s or []'s */
string ShortName = m_plugin.GetRomName(FullPath);
//gprintf("shortName=%s\n", ShortName.c_str());
/* only add disc 1 of multi disc games */
if(ShortName == PrevName)
return;
else
PrevName = ShortName;
/* get rom's ID */
string romID = "";
if(gameTDB.IsLoaded())
@ -386,6 +393,7 @@ void ListGenerator::CreateRomList(Config &platform_cfg, const string& romsDir, c
}
}
PrevName = "";
platformName = "";
if(platform_cfg.loaded())
{