summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/card_image.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/file_sys/card_image.h')
-rw-r--r--src/core/file_sys/card_image.h23
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;