Added CreateFile to the FS_USER service
Tested with hwtests.
This commit is contained in:
parent
c2753d37a7
commit
0625dd09ea
8 changed files with 91 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue