Fix adding additional Disc 2 to certain multi-disc games

This commit is contained in:
Fog 2015-05-27 10:22:27 -04:00
parent a26cf63783
commit c767813c0c
1 changed files with 1 additions and 1 deletions

View File

@ -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);