mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-22 06:55:47 +00:00
content_archive: Add accessors for Rights ID and SDK Version
This commit is contained in:
parent
42252d9796
commit
8dcda218d8
2 changed files with 10 additions and 0 deletions
|
@ -528,6 +528,14 @@ u64 NCA::GetTitleId() const {
|
|||
return header.title_id;
|
||||
}
|
||||
|
||||
std::array<u8, 16> NCA::GetRightsId() const {
|
||||
return header.rights_id;
|
||||
}
|
||||
|
||||
u32 NCA::GetSDKVersion() const {
|
||||
return header.sdk_version;
|
||||
}
|
||||
|
||||
bool NCA::IsUpdate() const {
|
||||
return is_update;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue