diff options
author | David <25727384+ogniK5377@users.noreply.github.com> | 2019-09-22 03:42:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-22 03:42:34 +0200 |
commit | c9ccdfbeac21ddd74d3cc79e8ef2c8d82f3d4efd (patch) | |
tree | e260125fd1ef6e8a29b255b967a447eeb1aeb204 /src/core/file_sys/content_archive.cpp | |
parent | Merge pull request #2883 from ogniK5377/log-game (diff) | |
parent | configure_debug: Move reporting option to logging (diff) | |
download | yuzu-c9ccdfbeac21ddd74d3cc79e8ef2c8d82f3d4efd.tar yuzu-c9ccdfbeac21ddd74d3cc79e8ef2c8d82f3d4efd.tar.gz yuzu-c9ccdfbeac21ddd74d3cc79e8ef2c8d82f3d4efd.tar.bz2 yuzu-c9ccdfbeac21ddd74d3cc79e8ef2c8d82f3d4efd.tar.lz yuzu-c9ccdfbeac21ddd74d3cc79e8ef2c8d82f3d4efd.tar.xz yuzu-c9ccdfbeac21ddd74d3cc79e8ef2c8d82f3d4efd.tar.zst yuzu-c9ccdfbeac21ddd74d3cc79e8ef2c8d82f3d4efd.zip |
Diffstat (limited to 'src/core/file_sys/content_archive.cpp')
-rw-r--r-- | src/core/file_sys/content_archive.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/core/file_sys/content_archive.cpp b/src/core/file_sys/content_archive.cpp index ce5c69b41..ea5c92f61 100644 --- a/src/core/file_sys/content_archive.cpp +++ b/src/core/file_sys/content_archive.cpp @@ -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; } |