diff options
author | Subv <subv2112@gmail.com> | 2015-12-28 15:59:27 +0100 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2016-03-20 20:28:14 +0100 |
commit | 09b0564c75c3da41eaf15dcb847831c11f4c27b9 (patch) | |
tree | dce86c99034cd11bbba6b599389c72e827fedbaa /src/core/file_sys/ivfc_archive.cpp | |
parent | HLE/FS: Corrected the error codes for CreateFile (diff) | |
download | yuzu-09b0564c75c3da41eaf15dcb847831c11f4c27b9.tar yuzu-09b0564c75c3da41eaf15dcb847831c11f4c27b9.tar.gz yuzu-09b0564c75c3da41eaf15dcb847831c11f4c27b9.tar.bz2 yuzu-09b0564c75c3da41eaf15dcb847831c11f4c27b9.tar.lz yuzu-09b0564c75c3da41eaf15dcb847831c11f4c27b9.tar.xz yuzu-09b0564c75c3da41eaf15dcb847831c11f4c27b9.tar.zst yuzu-09b0564c75c3da41eaf15dcb847831c11f4c27b9.zip |
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 { |