file_sys/registered_cache: Improve missing metadata error

This can happen when installing NSPs too, not just XCIs.
This commit is contained in:
Bakugo 2019-07-01 07:31:32 +01:00
parent 9968c0883a
commit c72ef5f405

View file

@ -397,8 +397,8 @@ InstallResult RegisteredCache::InstallEntry(const NSP& nsp, bool overwrite_if_ex
});
if (meta_iter == ncas.end()) {
LOG_ERROR(Loader, "The XCI you are attempting to install does not have a metadata NCA and "
"is therefore malformed. Double check your encryption keys.");
LOG_ERROR(Loader, "The file you are attempting to install does not have a metadata NCA and "
"is therefore malformed. Check your encryption keys.");
return InstallResult::ErrorMetaFailed;
}