diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/file_sys/card_image.cpp | 4 | ||||
| -rw-r--r-- | src/core/file_sys/card_image.h | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/core/file_sys/card_image.cpp b/src/core/file_sys/card_image.cpp index e07ac8503..1bd3353e4 100644 --- a/src/core/file_sys/card_image.cpp +++ b/src/core/file_sys/card_image.cpp | |||
| @@ -115,6 +115,10 @@ VirtualDir XCI::GetLogoPartition() const { | |||
| 115 | return GetPartition(XCIPartition::Logo); | 115 | return GetPartition(XCIPartition::Logo); |
| 116 | } | 116 | } |
| 117 | 117 | ||
| 118 | u64 XCI::GetProgramTitleID() const { | ||
| 119 | return secure_partition->GetProgramTitleID(); | ||
| 120 | } | ||
| 121 | |||
| 118 | std::shared_ptr<NCA> XCI::GetProgramNCA() const { | 122 | std::shared_ptr<NCA> XCI::GetProgramNCA() const { |
| 119 | return program; | 123 | return program; |
| 120 | } | 124 | } |
diff --git a/src/core/file_sys/card_image.h b/src/core/file_sys/card_image.h index 4d07d3d05..bd8c0fcbf 100644 --- a/src/core/file_sys/card_image.h +++ b/src/core/file_sys/card_image.h | |||
| @@ -79,6 +79,8 @@ public: | |||
| 79 | VirtualDir GetUpdatePartition() const; | 79 | VirtualDir GetUpdatePartition() const; |
| 80 | VirtualDir GetLogoPartition() const; | 80 | VirtualDir GetLogoPartition() const; |
| 81 | 81 | ||
| 82 | u64 GetProgramTitleID() const; | ||
| 83 | |||
| 82 | std::shared_ptr<NCA> GetProgramNCA() const; | 84 | std::shared_ptr<NCA> GetProgramNCA() const; |
| 83 | VirtualFile GetProgramNCAFile() const; | 85 | VirtualFile GetProgramNCAFile() const; |
| 84 | const std::vector<std::shared_ptr<NCA>>& GetNCAs() const; | 86 | const std::vector<std::shared_ptr<NCA>>& GetNCAs() const; |