summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/archive_romfs.h
diff options
context:
space:
mode:
authorarchshift <admin@archshift.com>2014-12-20 16:43:50 +0100
committerarchshift <admin@archshift.com>2014-12-21 06:21:49 +0100
commit0625dd09eaf9158696a9255cb6c6b2bd73122301 (patch)
tree752f0e9bd60403c1cbb0c3a1ba25f60c9a6925f2 /src/core/file_sys/archive_romfs.h
parentMerge pull request #317 from yuriks/make_unique (diff)
downloadyuzu-0625dd09eaf9158696a9255cb6c6b2bd73122301.tar
yuzu-0625dd09eaf9158696a9255cb6c6b2bd73122301.tar.gz
yuzu-0625dd09eaf9158696a9255cb6c6b2bd73122301.tar.bz2
yuzu-0625dd09eaf9158696a9255cb6c6b2bd73122301.tar.lz
yuzu-0625dd09eaf9158696a9255cb6c6b2bd73122301.tar.xz
yuzu-0625dd09eaf9158696a9255cb6c6b2bd73122301.tar.zst
yuzu-0625dd09eaf9158696a9255cb6c6b2bd73122301.zip
Diffstat (limited to 'src/core/file_sys/archive_romfs.h')
-rw-r--r--src/core/file_sys/archive_romfs.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/core/file_sys/archive_romfs.h b/src/core/file_sys/archive_romfs.h
index 5b1ee6332..3f5cdebed 100644
--- a/src/core/file_sys/archive_romfs.h
+++ b/src/core/file_sys/archive_romfs.h
@@ -54,6 +54,14 @@ public:
bool DeleteDirectory(const FileSys::Path& path) const override;
/**
+ * 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
+ */
+ ResultCode CreateFile(const Path& path, u32 size) const override;
+
+ /**
* Create a directory specified by its path
* @param path Path relative to the archive
* @return Whether the directory could be created