From c767813c0c30ef355f2f54004df98c65bf328169 Mon Sep 17 00:00:00 2001 From: Fog Date: Wed, 27 May 2015 10:22:27 -0400 Subject: [PATCH] Fix adding additional Disc 2 to certain multi-disc games --- Source/Core/DolphinWX/GameListCtrl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/DolphinWX/GameListCtrl.cpp b/Source/Core/DolphinWX/GameListCtrl.cpp index f0e8667a7a..e09c7693ce 100644 --- a/Source/Core/DolphinWX/GameListCtrl.cpp +++ b/Source/Core/DolphinWX/GameListCtrl.cpp @@ -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);