summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/content_archive.cpp
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2019-04-10 16:23:13 +0200
committerZach Hilman <zachhilman@gmail.com>2019-09-21 22:43:10 +0200
commite018a48460ca35403e53f319eb5f89135475d81a (patch)
tree7233beba1cb0569e0fb7e19227ef1a93401c9fe0 /src/core/file_sys/content_archive.cpp
parentpartition_data_manager: Add accessor for decrypted PRODINFO partition (diff)
downloadyuzu-e018a48460ca35403e53f319eb5f89135475d81a.tar
yuzu-e018a48460ca35403e53f319eb5f89135475d81a.tar.gz
yuzu-e018a48460ca35403e53f319eb5f89135475d81a.tar.bz2
yuzu-e018a48460ca35403e53f319eb5f89135475d81a.tar.lz
yuzu-e018a48460ca35403e53f319eb5f89135475d81a.tar.xz
yuzu-e018a48460ca35403e53f319eb5f89135475d81a.tar.zst
yuzu-e018a48460ca35403e53f319eb5f89135475d81a.zip
Diffstat (limited to 'src/core/file_sys/content_archive.cpp')
-rw-r--r--src/core/file_sys/content_archive.cpp8
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;
}