diff options
author | Zach Hilman <zachhilman@gmail.com> | 2018-07-31 04:04:51 +0200 |
---|---|---|
committer | Zach Hilman <zachhilman@gmail.com> | 2018-08-01 06:16:54 +0200 |
commit | 0497bb5528f62f9e3db887988f0f93b4a1653a42 (patch) | |
tree | c4f868272fb46e075e2e2c3f50504965dcf68796 /src/core/loader/xci.cpp | |
parent | Use more descriptive error codes and messages (diff) | |
download | yuzu-0497bb5528f62f9e3db887988f0f93b4a1653a42.tar yuzu-0497bb5528f62f9e3db887988f0f93b4a1653a42.tar.gz yuzu-0497bb5528f62f9e3db887988f0f93b4a1653a42.tar.bz2 yuzu-0497bb5528f62f9e3db887988f0f93b4a1653a42.tar.lz yuzu-0497bb5528f62f9e3db887988f0f93b4a1653a42.tar.xz yuzu-0497bb5528f62f9e3db887988f0f93b4a1653a42.tar.zst yuzu-0497bb5528f62f9e3db887988f0f93b4a1653a42.zip |
Diffstat (limited to 'src/core/loader/xci.cpp')
-rw-r--r-- | src/core/loader/xci.cpp | 2 |
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; } |