Merge pull request #2467 from RisingFog/disc2fix

Fix adding additional Disc 2 to certain multi-disc games
This commit is contained in:
Markus Wick 2015-05-29 07:47:56 +02:00
commit 61c53babf4
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))
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());
SetItem(_Index, COLUMN_TITLE, name, -1);