mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-02 02:52:30 +02:00
Merge pull request #2467 from RisingFog/disc2fix
Fix adding additional Disc 2 to certain multi-disc games
This commit is contained in:
commit
61c53babf4
@ -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
Block a user