summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/archive_romfs.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2014-11-02 23:15:52 +0100
committerbunnei <bunneidev@gmail.com>2014-11-02 23:15:52 +0100
commit9be17e4d8420fecd42f61c9c26c1f31a3fad0d9d (patch)
tree8904eaeb0422ef0e85ecd4c077874d9f0a63a9cc /src/core/file_sys/archive_romfs.cpp
parentMerge pull request #179 from Gareth422/myradicalbranch (diff)
parentAdded CreateDirectory function to service/fs.cpp, and in Archive. (diff)
downloadyuzu-9be17e4d8420fecd42f61c9c26c1f31a3fad0d9d.tar
yuzu-9be17e4d8420fecd42f61c9c26c1f31a3fad0d9d.tar.gz
yuzu-9be17e4d8420fecd42f61c9c26c1f31a3fad0d9d.tar.bz2
yuzu-9be17e4d8420fecd42f61c9c26c1f31a3fad0d9d.tar.lz
yuzu-9be17e4d8420fecd42f61c9c26c1f31a3fad0d9d.tar.xz
yuzu-9be17e4d8420fecd42f61c9c26c1f31a3fad0d9d.tar.zst
yuzu-9be17e4d8420fecd42f61c9c26c1f31a3fad0d9d.zip
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