mirror of
https://github.com/izzy2lost/dolphin.git
synced 2026-06-19 01:16:48 -07: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:
committed by
Jordan Woyak
parent
2316cb6876
commit
1e6dacf1e4
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user