summaryrefslogtreecommitdiff
path: root/src/core/loader/xci.cpp
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2018-07-30 22:04:51 -0400
committerZach Hilman <zachhilman@gmail.com>2018-08-01 00:16:54 -0400
commit0497bb5528f62f9e3db887988f0f93b4a1653a42 (patch)
treec4f868272fb46e075e2e2c3f50504965dcf68796 /src/core/loader/xci.cpp
parent187d8e215fb157edaa9f3976bebba9a9a7ed103d (diff)
Fix merge conflicts with opus and update docs
Diffstat (limited to 'src/core/loader/xci.cpp')
-rw-r--r--src/core/loader/xci.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/loader/xci.cpp b/src/core/loader/xci.cpp
index d757862f0..eb4dee2c2 100644
--- a/src/core/loader/xci.cpp
+++ b/src/core/loader/xci.cpp
@@ -49,6 +49,8 @@ ResultStatus AppLoader_XCI::Load(Kernel::SharedPtr<Kernel::Process>& process) {
}
if (xci->GetNCAFileByType(FileSys::NCAContentType::Program) == nullptr) {
+ if (!Core::Crypto::KeyManager::KeyFileExists(false))
+ return ResultStatus::ErrorMissingKeys;
return ResultStatus::ErrorDecrypting;
}