summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/archive_extsavedata.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/file_sys/archive_extsavedata.h')
-rw-r--r--src/core/file_sys/archive_extsavedata.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/core/file_sys/archive_extsavedata.h b/src/core/file_sys/archive_extsavedata.h
index ec8d770fc..48e092ee7 100644
--- a/src/core/file_sys/archive_extsavedata.h
+++ b/src/core/file_sys/archive_extsavedata.h
@@ -31,10 +31,19 @@ public:
std::string GetName() const override { return "ExtSaveData"; }
ResultVal<std::unique_ptr<ArchiveBackend>> Open(const Path& path) override;
- ResultCode Format(const Path& path) override;
+ ResultCode Format(const Path& path, const FileSys::ArchiveFormatInfo& format_info) override;
+ ResultVal<ArchiveFormatInfo> GetFormatInfo(const Path& path) const override;
const std::string& GetMountPoint() const { return mount_point; }
+ /*
+ * Writes the SMDH icon of the ExtSaveData to file
+ * @param path Path of this ExtSaveData
+ * @param icon_data Binary data of the icon
+ * @param icon_size Size of the icon data
+ */
+ void WriteIcon(const Path& path, u8* icon_data, u32 icon_size);
+
private:
/**
* This holds the full directory path for this archive, it is only set after a successful call