summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/NetPlay/NetWindow.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2015-08-28 14:28:09 -0400
committerLioncash <mathew1800@gmail.com>2015-08-28 14:28:09 -0400
commitd86d5fae9f0bb5c0b588f58e1e45a5e025796903 (patch)
treeb6c516cf13ccb8460bd2d364ce730f03831b9386 /Source/Core/DolphinWX/NetPlay/NetWindow.cpp
parentd373dd372d74d9c35fdb5abf26aaf0fdf609cda0 (diff)
parentfaedf1bc5cd53861e0dc825acc8237f4f56d7189 (diff)
Merge pull request #2909 from aserna3/DollsAndElves
Implemented .elf and .dol support in gamelist
Diffstat (limited to 'Source/Core/DolphinWX/NetPlay/NetWindow.cpp')
-rw-r--r--Source/Core/DolphinWX/NetPlay/NetWindow.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/Core/DolphinWX/NetPlay/NetWindow.cpp b/Source/Core/DolphinWX/NetPlay/NetWindow.cpp
index 0de691a281..eb9f1d811f 100644
--- a/Source/Core/DolphinWX/NetPlay/NetWindow.cpp
+++ b/Source/Core/DolphinWX/NetPlay/NetWindow.cpp
@@ -75,7 +75,13 @@ static std::string BuildGameName(const GameListItem& game)
if (game.GetRevision() != 0)
return name + " (" + game.GetUniqueID() + ", Revision " + std::to_string((long long)game.GetRevision()) + ")";
else
+ {
+ if (game.GetUniqueID().empty())
+ {
+ return game.GetName();
+ }
return name + " (" + game.GetUniqueID() + ")";
+ }
}
void NetPlayDialog::FillWithGameNames(wxListBox* game_lbox, const CGameListCtrl& game_list)