card_image: Add program title ID getter

This commit is contained in:
Zach Hilman 2018-09-03 18:47:23 -04:00
parent 1280061725
commit 23d2c50479
2 changed files with 6 additions and 0 deletions

View File

@ -115,6 +115,10 @@ VirtualDir XCI::GetLogoPartition() const {
return GetPartition(XCIPartition::Logo);
}
u64 XCI::GetProgramTitleID() const {
return secure_partition->GetProgramTitleID();
}
std::shared_ptr<NCA> XCI::GetProgramNCA() const {
return program;
}

View File

@ -79,6 +79,8 @@ public:
VirtualDir GetUpdatePartition() const;
VirtualDir GetLogoPartition() const;
u64 GetProgramTitleID() const;
std::shared_ptr<NCA> GetProgramNCA() const;
VirtualFile GetProgramNCAFile() const;
const std::vector<std::shared_ptr<NCA>>& GetNCAs() const;