DolphinWX: Fix sorting games by custom titles

The custom title reading code is moved so that custom titles are
returned by GameListItem::GetName(). The comparison code is changed
to use GetName() instead of GetName(DiscIO::IVolume::ELanguage).

GetName(DiscIO::IVolume::ELanguage) must not return custom titles,
because netplay relies on it returning the same name for all players.
This commit is contained in:
JosJuice
2015-09-13 12:45:06 +02:00
parent 45c1cfa078
commit 10aafff5b9
3 changed files with 55 additions and 58 deletions

View File

@ -78,6 +78,9 @@ private:
int m_ImageWidth, m_ImageHeight;
u8 m_disc_number;
std::string m_custom_name;
bool m_has_custom_name;
bool LoadFromCache();
void SaveToCache();