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

@ -91,6 +91,18 @@ std::string CVolumeGC::GetMakerID() const
return makerID;
}
int CVolumeGC::GetRevision() const
{
if (!m_pReader)
return 0;
u8 Revision;
if (!Read(7, 1, &Revision))
return 0;
return Revision;
}
std::vector<std::string> CVolumeGC::GetNames() const
{
std::vector<std::string> names;