summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2024-02-09 17:36:40 +0100
committerLiam <byteslice@airmail.cc>2024-02-10 18:38:19 +0100
commit4677fd3f64dd51c7419e0268df9fe10f8f6ce0fd (patch)
tree3a748b507a6af9cfc2dfb63ca0cd6a1662472661 /src/core/file_sys
parentam: fix focus states and display of indirect keyboard (diff)
downloadyuzu-4677fd3f64dd51c7419e0268df9fe10f8f6ce0fd.tar
yuzu-4677fd3f64dd51c7419e0268df9fe10f8f6ce0fd.tar.gz
yuzu-4677fd3f64dd51c7419e0268df9fe10f8f6ce0fd.tar.bz2
yuzu-4677fd3f64dd51c7419e0268df9fe10f8f6ce0fd.tar.lz
yuzu-4677fd3f64dd51c7419e0268df9fe10f8f6ce0fd.tar.xz
yuzu-4677fd3f64dd51c7419e0268df9fe10f8f6ce0fd.tar.zst
yuzu-4677fd3f64dd51c7419e0268df9fe10f8f6ce0fd.zip
Diffstat (limited to 'src/core/file_sys')
-rw-r--r--src/core/file_sys/content_archive.cpp4
-rw-r--r--src/core/file_sys/content_archive.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/src/core/file_sys/content_archive.cpp b/src/core/file_sys/content_archive.cpp
index 285fe4db6..665252358 100644
--- a/src/core/file_sys/content_archive.cpp
+++ b/src/core/file_sys/content_archive.cpp
@@ -172,6 +172,10 @@ u32 NCA::GetSDKVersion() const {
return reader->GetSdkAddonVersion();
}
+u8 NCA::GetKeyGeneration() const {
+ return reader->GetKeyGeneration();
+}
+
bool NCA::IsUpdate() const {
return is_update;
}
diff --git a/src/core/file_sys/content_archive.h b/src/core/file_sys/content_archive.h
index f68464eb0..8560617f5 100644
--- a/src/core/file_sys/content_archive.h
+++ b/src/core/file_sys/content_archive.h
@@ -77,6 +77,7 @@ public:
u64 GetTitleId() const;
RightsId GetRightsId() const;
u32 GetSDKVersion() const;
+ u8 GetKeyGeneration() const;
bool IsUpdate() const;
VirtualFile GetRomFS() const;