mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06: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