TMDReader: Add a way to get the required IOS version

This commit is contained in:
Léo Lam committed 2017-01-23 17:44:24 +01:00
1 parent 1c854f2daa
commit 0d8ddfb7d9
2 files changed
+6

No files matched your search

+5
View File
@@ -51,6 +51,11 @@ bool TMDReader::IsValid() const
return true;
}
u64 TMDReader::GetIOSId() const
{
return Common::swap64(m_bytes.data() + 0x184);
}
u64 TMDReader::GetTitleId() const
{
return Common::swap64(m_bytes.data() + 0x18C);
+1
View File
@@ -29,6 +29,7 @@ public:
bool IsValid() const;
u64 GetIOSId() const;
u64 GetTitleId() const;
struct Content