mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-21 03:54:57 +00:00
Merge pull request #4730 from leoetlino/tmdreader
TMDReader: Add a way to get the required IOS version
This commit is contained in:
commit
ee065181d7
2 changed files with 6 additions and 0 deletions
|
@ -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);
|
||||
|
|
|
@ -29,6 +29,7 @@ public:
|
|||
|
||||
bool IsValid() const;
|
||||
|
||||
u64 GetIOSId() const;
|
||||
u64 GetTitleId() const;
|
||||
|
||||
struct Content
|
||||
|
|
Loading…
Add table
Reference in a new issue