mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-18 20:08:00 -05:00
HLE/FS: Implemented GetFormatInfo
Format information is currently only implemented for the ExtSaveData, SharedExtSaveData and SaveData archives, the information is stored in a file alongside the root folder of the archive.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user