diff options
| author | Subv <subv2112@gmail.com> | 2015-12-28 09:59:27 -0500 |
|---|---|---|
| committer | Subv <subv2112@gmail.com> | 2016-03-20 14:28:14 -0500 |
| commit | 09b0564c75c3da41eaf15dcb847831c11f4c27b9 (patch) | |
| tree | dce86c99034cd11bbba6b599389c72e827fedbaa /src/core/file_sys/ivfc_archive.cpp | |
| parent | b350f192bbfe61a212e00ea70d4dcd7d3e90b60a (diff) | |
HLE/FS: Corrected the error codes for DeleteFile
Diffstat (limited to 'src/core/file_sys/ivfc_archive.cpp')
| -rw-r--r-- | src/core/file_sys/ivfc_archive.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/file_sys/ivfc_archive.cpp b/src/core/file_sys/ivfc_archive.cpp index 5325afb58..f2f96ef1a 100644 --- a/src/core/file_sys/ivfc_archive.cpp +++ b/src/core/file_sys/ivfc_archive.cpp @@ -24,9 +24,11 @@ std::unique_ptr<FileBackend> IVFCArchive::OpenFile(const Path& path, const Mode return Common::make_unique<IVFCFile>(romfs_file, data_offset, data_size); } -bool IVFCArchive::DeleteFile(const Path& path) const { +ResultCode IVFCArchive::DeleteFile(const Path& path) const { LOG_CRITICAL(Service_FS, "Attempted to delete a file from an IVFC archive (%s).", GetName().c_str()); - return false; + // TODO(Subv): Verify error code + return ResultCode(ErrorDescription::NoData, ErrorModule::FS, + ErrorSummary::Canceled, ErrorLevel::Status); } bool IVFCArchive::RenameFile(const Path& src_path, const Path& dest_path) const { |
