mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-11-01 00:55:06 +01:00
- 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:
parent
01cb1b47fc
commit
346f480b3d
Binary file not shown.
BIN
out/boot.dol
BIN
out/boot.dol
Binary file not shown.
Before Width: | Height: | Size: 4.3 MiB After Width: | Height: | Size: 4.3 MiB |
@ -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"
|
||||
|
@ -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())
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user