mirror of
https://github.com/yuzu-emu/yuzu-mainline.git
synced 2024-12-25 21:15:36 +00:00
card_image: Add program title ID getter
This commit is contained in:
parent
1280061725
commit
23d2c50479
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue