diff options
author | bunnei <bunneidev@gmail.com> | 2014-12-21 07:45:00 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2014-12-21 07:45:00 +0100 |
commit | 572ce043c291f46f50d97f68f4df4f6f93e72035 (patch) | |
tree | 79a59fa757424e053b029b6162937551a03d1e25 /src/core/file_sys/archive_backend.h | |
parent | Merge pull request #323 from lioncash/saddsub (diff) | |
parent | Added CreateFile to the FS_USER service (diff) | |
download | yuzu-572ce043c291f46f50d97f68f4df4f6f93e72035.tar yuzu-572ce043c291f46f50d97f68f4df4f6f93e72035.tar.gz yuzu-572ce043c291f46f50d97f68f4df4f6f93e72035.tar.bz2 yuzu-572ce043c291f46f50d97f68f4df4f6f93e72035.tar.lz yuzu-572ce043c291f46f50d97f68f4df4f6f93e72035.tar.xz yuzu-572ce043c291f46f50d97f68f4df4f6f93e72035.tar.zst yuzu-572ce043c291f46f50d97f68f4df4f6f93e72035.zip |
Diffstat (limited to 'src/core/file_sys/archive_backend.h')
-rw-r--r-- | src/core/file_sys/archive_backend.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/core/file_sys/archive_backend.h b/src/core/file_sys/archive_backend.h index d7959b2ca..43583d206 100644 --- a/src/core/file_sys/archive_backend.h +++ b/src/core/file_sys/archive_backend.h @@ -209,6 +209,14 @@ public: virtual bool DeleteDirectory(const FileSys::Path& path) const = 0; /** + * Create a file specified by its path + * @param path Path relative to the Archive + * @param size The size of the new file, filled with zeroes + * @return File creation result code + */ + virtual ResultCode CreateFile(const Path& path, u32 size) const = 0; + + /** * Create a directory specified by its path * @param path Path relative to the archive * @return Whether the directory could be created |