summaryrefslogtreecommitdiff
path: root/Source/Core/DiscIO/VolumeWiiCrypted.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/DiscIO/VolumeWiiCrypted.cpp')
-rw-r--r--Source/Core/DiscIO/VolumeWiiCrypted.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/Source/Core/DiscIO/VolumeWiiCrypted.cpp b/Source/Core/DiscIO/VolumeWiiCrypted.cpp
index 73488bbb9c..354779b90c 100644
--- a/Source/Core/DiscIO/VolumeWiiCrypted.cpp
+++ b/Source/Core/DiscIO/VolumeWiiCrypted.cpp
@@ -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;