diff --git a/Source/Core/Core/IOS/ES/Formats.cpp b/Source/Core/Core/IOS/ES/Formats.cpp index 8e0879ef87..6a9053fbee 100644 --- a/Source/Core/Core/IOS/ES/Formats.cpp +++ b/Source/Core/Core/IOS/ES/Formats.cpp @@ -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); diff --git a/Source/Core/Core/IOS/ES/Formats.h b/Source/Core/Core/IOS/ES/Formats.h index 33171b8aec..775f602451 100644 --- a/Source/Core/Core/IOS/ES/Formats.h +++ b/Source/Core/Core/IOS/ES/Formats.h @@ -29,6 +29,7 @@ public: bool IsValid() const; + u64 GetIOSId() const; u64 GetTitleId() const; struct Content