mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
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:
@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user