FS: Implemented IFileSystem::CreateDirectory.

This commit is contained in:
Subv
2018-03-21 09:36:26 -05:00
parent 0485ee499f
commit eff3f60b73
6 changed files with 29 additions and 7 deletions

View File

@ -55,7 +55,7 @@ ResultCode RomFS_FileSystem::CreateFile(const std::string& path, u64 size) const
return ResultCode(-1);
}
ResultCode RomFS_FileSystem::CreateDirectory(const Path& path) const {
ResultCode RomFS_FileSystem::CreateDirectory(const std::string& path) const {
LOG_CRITICAL(Service_FS, "Attempted to create a directory in an ROMFS archive (%s).",
GetName().c_str());
// TODO(wwylele): Use correct error code