aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/hle/service/fs/archive.h
diff options
context:
space:
mode:
authorGravatar archshift <admin@archshift.com>2014-12-20 12:43:50 -0300
committerGravatar archshift <admin@archshift.com>2014-12-21 02:21:49 -0300
commit0625dd09eaf9158696a9255cb6c6b2bd73122301 (patch)
tree752f0e9bd60403c1cbb0c3a1ba25f60c9a6925f2 /src/core/hle/service/fs/archive.h
parentc2753d37a743e48548a6c792a0ec2278591f79a0 (diff)
Added CreateFile to the FS_USER service
Tested with hwtests.
Diffstat (limited to 'src/core/hle/service/fs/archive.h')
-rw-r--r--src/core/hle/service/fs/archive.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/core/hle/service/fs/archive.h b/src/core/hle/service/fs/archive.h
index a128276b..0fd3aaa0 100644
--- a/src/core/hle/service/fs/archive.h
+++ b/src/core/hle/service/fs/archive.h
@@ -83,6 +83,15 @@ ResultCode RenameFileBetweenArchives(ArchiveHandle src_archive_handle, const Fil
ResultCode DeleteDirectoryFromArchive(ArchiveHandle archive_handle, const FileSys::Path& path);
/**
+ * Create a File in an Archive
+ * @param archive_handle Handle to an open Archive object
+ * @param path Path to the File inside of the Archive
+ * @param file_size The size of the new file, filled with zeroes
+ * @return File creation result code
+ */
+ResultCode CreateFileInArchive(Handle archive_handle, const FileSys::Path& path, u32 file_size);
+
+/**
* Create a Directory from an Archive
* @param archive_handle Handle to an open Archive object
* @param path Path to the Directory inside of the Archive