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/hle/service/fs | |
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/hle/service/fs')
-rw-r--r-- | src/core/hle/service/fs/archive.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/core/hle/service/fs/archive.cpp b/src/core/hle/service/fs/archive.cpp index 57fc2f44d..cb98fa7aa 100644 --- a/src/core/hle/service/fs/archive.cpp +++ b/src/core/hle/service/fs/archive.cpp @@ -309,10 +309,7 @@ ResultCode DeleteFileFromArchive(ArchiveHandle archive_handle, const FileSys::Pa if (archive == nullptr) return ERR_INVALID_HANDLE; - if (archive->DeleteFile(path)) - return RESULT_SUCCESS; - return ResultCode(ErrorDescription::NoData, ErrorModule::FS, // TODO: verify description - ErrorSummary::Canceled, ErrorLevel::Status); + return archive->DeleteFile(path); } ResultCode RenameFileBetweenArchives(ArchiveHandle src_archive_handle, const FileSys::Path& src_path, |