diff options
author | Liam <byteslice@airmail.cc> | 2024-02-09 11:36:40 -0500 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2024-02-10 12:38:19 -0500 |
commit | 4677fd3f64dd51c7419e0268df9fe10f8f6ce0fd (patch) | |
tree | 3a748b507a6af9cfc2dfb63ca0cd6a1662472661 /src/core/file_sys | |
parent | b206ea5cfe90bca01b48e44a0cf93cb51f4877d1 (diff) |
am: use applet program loading for tested versions
Diffstat (limited to 'src/core/file_sys')
-rw-r--r-- | src/core/file_sys/content_archive.cpp | 4 | ||||
-rw-r--r-- | src/core/file_sys/content_archive.h | 1 |
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; |