Make dolphin aware of disc revision numbers. Display them under game properties and use them in netplay.

Patch by johnwchadwick.
Fixed issue 6243.
This commit is contained in:
John Chadwick
2013-04-16 22:29:01 -05:00
committed by Jordan Woyak
parent 2316cb6876
commit 1e6dacf1e4
9 changed files with 39 additions and 8 deletions

View File

@ -45,8 +45,11 @@ std::string BuildGameName(const GameListItem& game)
std::string name(game.GetBannerName(lang));
if (name.empty())
name = game.GetVolumeName(lang);
return name + " (" + game.GetUniqueID() + ")";
if (game.GetRevision() != 0)
return name + " (" + game.GetUniqueID() + ", Revision " + std::to_string((long long)game.GetRevision()) + ")";
else
return name + " (" + game.GetUniqueID() + ")";
}
void FillWithGameNames(wxListBox* game_lbox, const CGameListCtrl& game_list)