diff options
| author | Anthony Serna <aserna3@gmail.com> | 2015-08-25 22:13:55 -0700 |
|---|---|---|
| committer | Anthony Serna <aserna3@gmail.com> | 2015-08-28 11:10:03 -0700 |
| commit | faedf1bc5cd53861e0dc825acc8237f4f56d7189 (patch) | |
| tree | 060163abb60513a878d1cf82c42ad1599eb2c475 /Source/Core/DolphinWX/NetPlay/NetWindow.cpp | |
| parent | d96be9250c8c0d76fba7ec46177cd3739317d493 (diff) | |
Implemented .elf and .dol support in gamelist
Fixed a TON of structuring, formatting.
removed README.txt files from themes at MaJoR's request
Added platform icon for ELFs/DOLs
Diffstat (limited to 'Source/Core/DolphinWX/NetPlay/NetWindow.cpp')
| -rw-r--r-- | Source/Core/DolphinWX/NetPlay/NetWindow.cpp | 6 |
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) |
