aboutsummaryrefslogtreecommitdiff
path: root/src/core/file_sys/archive_romfs.cpp
diff options
context:
space:
mode:
authorarchshift <admin@archshift.com>2014-10-28 22:52:56 -0700
committerarchshift <admin@archshift.com>2014-11-02 10:48:28 -0800
commit04c90c395d27e6bc205fb2d933ced50e70c1841a (patch)
tree18f5e206016e383ad07493e3ad5ba1279301e6a8 /src/core/file_sys/archive_romfs.cpp
parent2ca12e7f3899a58e112ee8bb4e46d11ca61f7152 (diff)
Added CreateDirectory function to service/fs.cpp, and in Archive.
Diffstat (limited to 'src/core/file_sys/archive_romfs.cpp')
-rw-r--r--src/core/file_sys/archive_romfs.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/core/file_sys/archive_romfs.cpp b/src/core/file_sys/archive_romfs.cpp
index f101fc729..cc759faa8 100644
--- a/src/core/file_sys/archive_romfs.cpp
+++ b/src/core/file_sys/archive_romfs.cpp
@@ -34,6 +34,16 @@ std::unique_ptr<File> Archive_RomFS::OpenFile(const std::string& path, const Mod
}
/**
+ * Create a directory specified by its path
+ * @param path Path relative to the archive
+ * @return Whether the directory could be created
+ */
+bool Archive_RomFS::CreateDirectory(const std::string& path) const {
+ ERROR_LOG(FILESYS, "Attempted to create a directory in ROMFS.");
+ return false;
+};
+
+/**
* Open a directory specified by its path
* @param path Path relative to the archive
* @return Opened directory, or nullptr