summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorSteven Vascellaro <S.Vascellaro@gmail.com>2014-10-07 19:05:38 -0400
committerSteven Vascellaro <S.Vascellaro@gmail.com>2014-10-07 19:05:38 -0400
commit4b9ee5ee39aec908b4be0fd4c8398eaa5d066bc3 (patch)
treecdfd236fd6c8ce02e29ce1f61d817c96987b4e9c /Source/Core
parent355a2d33aa6164320e52d3d2a3940936cf17217f (diff)
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()) + ")";