mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 04:08:55 +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
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue