From faedf1bc5cd53861e0dc825acc8237f4f56d7189 Mon Sep 17 00:00:00 2001 From: Anthony Serna Date: Tue, 25 Aug 2015 22:13:55 -0700 Subject: 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 --- Source/Core/DolphinWX/NetPlay/NetWindow.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Source/Core/DolphinWX/NetPlay/NetWindow.cpp') 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) -- cgit v1.2.3