Merge pull request #1233 from Stevoisiak/getNameRedundancy
Updated Netplay to use GetName()
This commit is contained in:
commit
fab357552f
|
@ -65,9 +65,7 @@ static std::string BuildGameName(const GameListItem& game)
|
||||||
// Lang needs to be consistent
|
// Lang needs to be consistent
|
||||||
auto const lang = 0;
|
auto const lang = 0;
|
||||||
|
|
||||||
std::string name(game.GetBannerName(lang));
|
std::string name(game.GetName(lang));
|
||||||
if (name.empty())
|
|
||||||
name = game.GetVolumeName(lang);
|
|
||||||
|
|
||||||
if (game.GetRevision() != 0)
|
if (game.GetRevision() != 0)
|
||||||
return name + " (" + game.GetUniqueID() + ", Revision " + std::to_string((long long)game.GetRevision()) + ")";
|
return name + " (" + game.GetUniqueID() + ", Revision " + std::to_string((long long)game.GetRevision()) + ")";
|
||||||
|
|
Loading…
Reference in New Issue