mirror of
https://github.com/izzy2lost/dolphin.git
synced 2026-06-19 01:16:48 -07:00
Implement GetRevision() for wii disks.
This commit is contained in:
@@ -154,6 +154,18 @@ std::string CVolumeWiiCrypted::GetMakerID() const
|
||||
return makerID;
|
||||
}
|
||||
|
||||
int CVolumeWiiCrypted::GetRevision() const
|
||||
{
|
||||
if (!m_pReader)
|
||||
return 0;
|
||||
|
||||
u8 revision;
|
||||
if (!Read(7, 1, &revision))
|
||||
return 0;
|
||||
|
||||
return revision;
|
||||
}
|
||||
|
||||
std::vector<std::string> CVolumeWiiCrypted::GetNames() const
|
||||
{
|
||||
std::vector<std::string> names;
|
||||
|
||||
Reference in New Issue
Block a user