summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/ivfc_archive.cpp
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2015-12-28 15:59:27 +0100
committerSubv <subv2112@gmail.com>2016-03-20 20:28:14 +0100
commit09b0564c75c3da41eaf15dcb847831c11f4c27b9 (patch)
treedce86c99034cd11bbba6b599389c72e827fedbaa /src/core/file_sys/ivfc_archive.cpp
parentHLE/FS: Corrected the error codes for CreateFile (diff)
downloadyuzu-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.cpp6
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 {