Merge pull request #1233 from Stevoisiak/getNameRedundancy

Updated Netplay to use GetName()
This commit is contained in:
Lioncash 2014-10-07 19:54:09 -04:00
commit fab357552f
1 changed files with 1 additions and 3 deletions

View File

@ -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()) + ")";