diff options
author | bunnei <bunneidev@gmail.com> | 2019-10-14 16:29:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-14 16:29:10 +0200 |
commit | cd2efed922740da5c2c4df63360faba009e696c1 (patch) | |
tree | 340266cd6e90446a051d023409ffe1ded832812b /src/core/file_sys/card_image.h | |
parent | Merge pull request #2910 from FearlessTobi/port-4930 (diff) | |
parent | card_image: Implement system update commands in XCI (diff) | |
download | yuzu-cd2efed922740da5c2c4df63360faba009e696c1.tar yuzu-cd2efed922740da5c2c4df63360faba009e696c1.tar.gz yuzu-cd2efed922740da5c2c4df63360faba009e696c1.tar.bz2 yuzu-cd2efed922740da5c2c4df63360faba009e696c1.tar.lz yuzu-cd2efed922740da5c2c4df63360faba009e696c1.tar.xz yuzu-cd2efed922740da5c2c4df63360faba009e696c1.tar.zst yuzu-cd2efed922740da5c2c4df63360faba009e696c1.zip |
Diffstat (limited to 'src/core/file_sys/card_image.h')
-rw-r--r-- | src/core/file_sys/card_image.h | 23 |
1 files changed, 17 insertions, 6 deletions
diff --git a/src/core/file_sys/card_image.h b/src/core/file_sys/card_image.h index 3e6b92ff3..c2ee0ea99 100644 --- a/src/core/file_sys/card_image.h +++ b/src/core/file_sys/card_image.h @@ -81,14 +81,24 @@ public: Loader::ResultStatus GetStatus() const; Loader::ResultStatus GetProgramNCAStatus() const; - u8 GetFormatVersion() const; + u8 GetFormatVersion(); + + VirtualDir GetPartition(XCIPartition partition); + std::vector<VirtualDir> GetPartitions(); - VirtualDir GetPartition(XCIPartition partition) const; std::shared_ptr<NSP> GetSecurePartitionNSP() const; - VirtualDir GetSecurePartition() const; - VirtualDir GetNormalPartition() const; - VirtualDir GetUpdatePartition() const; - VirtualDir GetLogoPartition() const; + VirtualDir GetSecurePartition(); + VirtualDir GetNormalPartition(); + VirtualDir GetUpdatePartition(); + VirtualDir GetLogoPartition(); + + VirtualFile GetPartitionRaw(XCIPartition partition) const; + VirtualFile GetSecurePartitionRaw() const; + VirtualFile GetStoragePartition0() const; + VirtualFile GetStoragePartition1() const; + VirtualFile GetNormalPartitionRaw() const; + VirtualFile GetUpdatePartitionRaw() const; + VirtualFile GetLogoPartitionRaw() const; u64 GetProgramTitleID() const; u32 GetSystemUpdateVersion(); @@ -123,6 +133,7 @@ private: Loader::ResultStatus program_nca_status; std::vector<VirtualDir> partitions; + std::vector<VirtualFile> partitions_raw; std::shared_ptr<NSP> secure_partition; std::shared_ptr<NCA> program; std::vector<std::shared_ptr<NCA>> ncas; |