mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-08 00:40:38 +00:00
TMDReader: Add a way to get the required IOS version
This commit is contained in:
parent
1c854f2daa
commit
0d8ddfb7d9
@ -51,6 +51,11 @@ bool TMDReader::IsValid() const
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
u64 TMDReader::GetIOSId() const
|
||||||
|
{
|
||||||
|
return Common::swap64(m_bytes.data() + 0x184);
|
||||||
|
}
|
||||||
|
|
||||||
u64 TMDReader::GetTitleId() const
|
u64 TMDReader::GetTitleId() const
|
||||||
{
|
{
|
||||||
return Common::swap64(m_bytes.data() + 0x18C);
|
return Common::swap64(m_bytes.data() + 0x18C);
|
||||||
|
@ -29,6 +29,7 @@ public:
|
|||||||
|
|
||||||
bool IsValid() const;
|
bool IsValid() const;
|
||||||
|
|
||||||
|
u64 GetIOSId() const;
|
||||||
u64 GetTitleId() const;
|
u64 GetTitleId() const;
|
||||||
|
|
||||||
struct Content
|
struct Content
|
||||||
|
Loading…
x
Reference in New Issue
Block a user