diff options
author | Zach Hilman <zachhilman@gmail.com> | 2018-09-04 00:47:23 +0200 |
---|---|---|
committer | Zach Hilman <zachhilman@gmail.com> | 2018-09-04 20:29:19 +0200 |
commit | 23d2c504795a3efadfa046cfe4b5faf95649f454 (patch) | |
tree | f0714d54b5a820f3e58c79e23489f3d05a58382c | |
parent | qt: Add deprecation warnings for DRD format (diff) | |
download | yuzu-23d2c504795a3efadfa046cfe4b5faf95649f454.tar yuzu-23d2c504795a3efadfa046cfe4b5faf95649f454.tar.gz yuzu-23d2c504795a3efadfa046cfe4b5faf95649f454.tar.bz2 yuzu-23d2c504795a3efadfa046cfe4b5faf95649f454.tar.lz yuzu-23d2c504795a3efadfa046cfe4b5faf95649f454.tar.xz yuzu-23d2c504795a3efadfa046cfe4b5faf95649f454.tar.zst yuzu-23d2c504795a3efadfa046cfe4b5faf95649f454.zip |
-rw-r--r-- | src/core/file_sys/card_image.cpp | 4 | ||||
-rw-r--r-- | src/core/file_sys/card_image.h | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/core/file_sys/card_image.cpp b/src/core/file_sys/card_image.cpp index e07ac8503..1bd3353e4 100644 --- a/src/core/file_sys/card_image.cpp +++ b/src/core/file_sys/card_image.cpp @@ -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; } diff --git a/src/core/file_sys/card_image.h b/src/core/file_sys/card_image.h index 4d07d3d05..bd8c0fcbf 100644 --- a/src/core/file_sys/card_image.h +++ b/src/core/file_sys/card_image.h @@ -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; |