summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service
diff options
context:
space:
mode:
authorTheKoopaKingdom <thekoopakingdom@gmail.com>2017-05-25 01:51:31 +0200
committerTheKoopaKingdom <thekoopakingdom@gmail.com>2017-06-03 00:40:39 +0200
commit59de38b96525d1230df07de3d6cda422421fd883 (patch)
treededa62dae5c41e8424606c236f576e1b94f06236 /src/core/hle/service
parentMoved whitelist checks from FS_User to the Archive_NCCH handler. (diff)
downloadyuzu-59de38b96525d1230df07de3d6cda422421fd883.tar
yuzu-59de38b96525d1230df07de3d6cda422421fd883.tar.gz
yuzu-59de38b96525d1230df07de3d6cda422421fd883.tar.bz2
yuzu-59de38b96525d1230df07de3d6cda422421fd883.tar.lz
yuzu-59de38b96525d1230df07de3d6cda422421fd883.tar.xz
yuzu-59de38b96525d1230df07de3d6cda422421fd883.tar.zst
yuzu-59de38b96525d1230df07de3d6cda422421fd883.zip
Diffstat (limited to 'src/core/hle/service')
-rw-r--r--src/core/hle/service/fs/archive.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/hle/service/fs/archive.cpp b/src/core/hle/service/fs/archive.cpp
index 6d1a49d92..40d52f54b 100644
--- a/src/core/hle/service/fs/archive.cpp
+++ b/src/core/hle/service/fs/archive.cpp
@@ -258,8 +258,7 @@ ResultVal<ArchiveHandle> OpenArchive(ArchiveIdCode id_code, FileSys::Path& archi
auto itr = id_code_map.find(id_code);
if (itr == id_code_map.end())
- return ResultCode(ErrorDescription::FS_NotFound, ErrorModule::FS, ErrorSummary::NotFound,
- ErrorLevel::Status);
+ return FileSys::ERROR_NOT_FOUND;
CASCADE_RESULT(std::unique_ptr<ArchiveBackend> res, itr->second->Open(archive_path));