summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/archive_romfs.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2014-12-21 07:45:00 +0100
committerbunnei <bunneidev@gmail.com>2014-12-21 07:45:00 +0100
commit572ce043c291f46f50d97f68f4df4f6f93e72035 (patch)
tree79a59fa757424e053b029b6162937551a03d1e25 /src/core/file_sys/archive_romfs.cpp
parentMerge pull request #323 from lioncash/saddsub (diff)
parentAdded CreateFile to the FS_USER service (diff)
downloadyuzu-572ce043c291f46f50d97f68f4df4f6f93e72035.tar
yuzu-572ce043c291f46f50d97f68f4df4f6f93e72035.tar.gz
yuzu-572ce043c291f46f50d97f68f4df4f6f93e72035.tar.bz2
yuzu-572ce043c291f46f50d97f68f4df4f6f93e72035.tar.lz
yuzu-572ce043c291f46f50d97f68f4df4f6f93e72035.tar.xz
yuzu-572ce043c291f46f50d97f68f4df4f6f93e72035.tar.zst
yuzu-572ce043c291f46f50d97f68f4df4f6f93e72035.zip
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 1e3e9dc60..32d0777a0 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