mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-15 21:28:05 -05:00
Switched to the ERROR_NOT_FOUND constant from errors.h.
This commit is contained in:
@ -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));
|
||||
|
||||
|
Reference in New Issue
Block a user