aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/file_sys/archive_romfs.cpp
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/file_sys/archive_romfs.cpp
parentc2753d37a743e48548a6c792a0ec2278591f79a0 (diff)
Added CreateFile to the FS_USER service
Tested with hwtests.
Diffstat (limited to 'src/core/file_sys/archive_romfs.cpp')
-rw-r--r--src/core/file_sys/archive_romfs.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/file_sys/archive_romfs.cpp b/src/core/file_sys/archive_romfs.cpp
index 1e3e9dc6..32d0777a 100644
--- a/src/core/file_sys/archive_romfs.cpp
+++ b/src/core/file_sys/archive_romfs.cpp
@@ -58,6 +58,12 @@ bool Archive_RomFS::DeleteDirectory(const FileSys::Path& path) const {
return false;
}
+ResultCode Archive_RomFS::CreateFile(const Path& path, u32 size) const {
+ LOG_WARNING(Service_FS, "Attempted to create a file in ROMFS.");
+ // TODO: Verify error code
+ return ResultCode(ErrorDescription::NotAuthorized, ErrorModule::FS, ErrorSummary::NotSupported, ErrorLevel::Permanent);
+}
+
/**
* Create a directory specified by its path
* @param path Path relative to the archive