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 | f903b556d8f2832632f526dd4485e86a1a7594d0 (patch) | |
| tree | 7f3ebb470b58e6c023030e68ee5c21ed7e0b4658 /src/core/file_sys/card_image.cpp | |
| parent | 562e66e5d259825cb8260c7e82765a54ac2c0e17 (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 a4823353e0..093c625fff 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(), |
