1
0
Fork 0
forked from suyu/suyu

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); return GetPartition(XCIPartition::Logo);
} }
u64 XCI::GetProgramTitleID() const {
return secure_partition->GetProgramTitleID();
}
std::shared_ptr<NCA> XCI::GetProgramNCA() const { std::shared_ptr<NCA> XCI::GetProgramNCA() const {
return program; return program;
} }

View file

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