Fix adding additional Disc 2 to certain multi-disc games
This commit is contained in:
parent
a26cf63783
commit
c767813c0c
|
@ -415,7 +415,7 @@ void CGameListCtrl::InsertItemInReportView(long _Index)
|
||||||
if (gameini.GetIfExists("EmuState", "Title", &title))
|
if (gameini.GetIfExists("EmuState", "Title", &title))
|
||||||
name = title;
|
name = title;
|
||||||
|
|
||||||
if (rISOFile.IsDiscTwo() && name.find("Disc 2") == std::string::npos)
|
if (rISOFile.IsDiscTwo() && name.Lower().find("disc 2") == std::string::npos && name.Lower().find("disc2") == std::string::npos)
|
||||||
name = wxString::Format(_("%s (Disc 2)"), name.c_str());
|
name = wxString::Format(_("%s (Disc 2)"), name.c_str());
|
||||||
|
|
||||||
SetItem(_Index, COLUMN_TITLE, name, -1);
|
SetItem(_Index, COLUMN_TITLE, name, -1);
|
||||||
|
|
Loading…
Reference in New Issue