mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-07 08:39:00 +00:00
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:
parent
2316cb6876
commit
1e6dacf1e4
9 changed files with 39 additions and 8 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue