summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/content_archive.cpp
diff options
context:
space:
mode:
authorDavid <25727384+ogniK5377@users.noreply.github.com>2019-09-22 03:42:34 +0200
committerGitHub <noreply@github.com>2019-09-22 03:42:34 +0200
commitc9ccdfbeac21ddd74d3cc79e8ef2c8d82f3d4efd (patch)
treee260125fd1ef6e8a29b255b967a447eeb1aeb204 /src/core/file_sys/content_archive.cpp
parentMerge pull request #2883 from ogniK5377/log-game (diff)
parentconfigure_debug: Move reporting option to logging (diff)
downloadyuzu-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.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;
}