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

@ -42,6 +42,7 @@ public:
std::string GetName(int index) const;
std::string GetCompany() const;
std::string GetDescription(int index = 0) const;
int GetRevision() const { return m_Revision; }
const std::string& GetUniqueID() const {return m_UniqueID;}
const std::string GetWiiFSPath() const;
DiscIO::IVolume::ECountry GetCountry() const {return m_Country;}
@ -87,6 +88,7 @@ private:
DiscIO::IVolume::ECountry m_Country;
int m_Platform;
int m_Revision;
#if defined(HAVE_WX) && HAVE_WX
wxImage m_Image;