diff options
| author | Zach Hilman <zachhilman@gmail.com> | 2018-08-09 20:51:14 -0400 |
|---|---|---|
| committer | Zach Hilman <zachhilman@gmail.com> | 2018-08-11 22:50:48 -0400 |
| commit | ab8acce64598e89c31545713180f3334d1f81991 (patch) | |
| tree | 7f3ebb470b58e6c023030e68ee5c21ed7e0b4658 /src/core/file_sys/card_image.cpp | |
| parent | 9b0e3556edf9a77d8d782f56e064935e3e455242 (diff) | |
card_image: Add accessor for all NCAs in XCI
Diffstat (limited to 'src/core/file_sys/card_image.cpp')
| -rw-r--r-- | src/core/file_sys/card_image.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/file_sys/card_image.cpp b/src/core/file_sys/card_image.cpp index a4823353e..093c625ff 100644 --- a/src/core/file_sys/card_image.cpp +++ b/src/core/file_sys/card_image.cpp @@ -93,6 +93,10 @@ VirtualDir XCI::GetLogoPartition() const { return GetPartition(XCIPartition::Logo); } +const std::vector<std::shared_ptr<NCA>>& XCI::GetNCAs() const { + return ncas; +} + std::shared_ptr<NCA> XCI::GetNCAByType(NCAContentType type) const { const auto iter = std::find_if(ncas.begin(), ncas.end(), |
