summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2014-10-07 19:54:09 -0400
committerLioncash <mathew1800@gmail.com>2014-10-07 19:54:09 -0400
commitfab357552f4d25dc5633d2e8d5bbd8b541981a9a (patch)
tree7064e45dab6730e2ba2d73d97811208819d6d1e1 /Source/Core
parent85086e1e6c313c35f8d2971096f9766177241fa5 (diff)
parent4b9ee5ee39aec908b4be0fd4c8398eaa5d066bc3 (diff)
Merge pull request #1233 from Stevoisiak/getNameRedundancy
Updated Netplay to use GetName()
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/DolphinWX/NetWindow.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/Source/Core/DolphinWX/NetWindow.cpp b/Source/Core/DolphinWX/NetWindow.cpp
index 663af91b2e..2c5ba541d7 100644
--- a/Source/Core/DolphinWX/NetWindow.cpp
+++ b/Source/Core/DolphinWX/NetWindow.cpp
@@ -65,9 +65,7 @@ static std::string BuildGameName(const GameListItem& game)
// Lang needs to be consistent
auto const lang = 0;
- std::string name(game.GetBannerName(lang));
- if (name.empty())
- name = game.GetVolumeName(lang);
+ std::string name(game.GetName(lang));
if (game.GetRevision() != 0)
return name + " (" + game.GetUniqueID() + ", Revision " + std::to_string((long long)game.GetRevision()) + ")";