forked from ShuriZma/suyu
card_image: Add accessor for all NCAs in XCI
This commit is contained in:
parent
9b0e3556ed
commit
ab8acce645
|
@ -93,6 +93,10 @@ VirtualDir XCI::GetLogoPartition() const {
|
||||||
return GetPartition(XCIPartition::Logo);
|
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 {
|
std::shared_ptr<NCA> XCI::GetNCAByType(NCAContentType type) const {
|
||||||
const auto iter =
|
const auto iter =
|
||||||
std::find_if(ncas.begin(), ncas.end(),
|
std::find_if(ncas.begin(), ncas.end(),
|
||||||
|
|
|
@ -68,6 +68,7 @@ public:
|
||||||
VirtualDir GetUpdatePartition() const;
|
VirtualDir GetUpdatePartition() const;
|
||||||
VirtualDir GetLogoPartition() const;
|
VirtualDir GetLogoPartition() const;
|
||||||
|
|
||||||
|
const std::vector<std::shared_ptr<NCA>>& GetNCAs() const;
|
||||||
std::shared_ptr<NCA> GetNCAByType(NCAContentType type) const;
|
std::shared_ptr<NCA> GetNCAByType(NCAContentType type) const;
|
||||||
VirtualFile GetNCAFileByType(NCAContentType type) const;
|
VirtualFile GetNCAFileByType(NCAContentType type) const;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue