diff options
Diffstat (limited to 'src/core/loader/xci.cpp')
| -rw-r--r-- | src/core/loader/xci.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/loader/xci.cpp b/src/core/loader/xci.cpp index 7a619acb4..461607c95 100644 --- a/src/core/loader/xci.cpp +++ b/src/core/loader/xci.cpp | |||
| @@ -59,8 +59,7 @@ ResultStatus AppLoader_XCI::Load(Kernel::Process& process) { | |||
| 59 | if (xci->GetProgramNCAStatus() != ResultStatus::Success) | 59 | if (xci->GetProgramNCAStatus() != ResultStatus::Success) |
| 60 | return xci->GetProgramNCAStatus(); | 60 | return xci->GetProgramNCAStatus(); |
| 61 | 61 | ||
| 62 | const auto nca = xci->GetProgramNCA(); | 62 | if (!xci->HasProgramNCA() && !Core::Crypto::KeyManager::KeyFileExists(false)) |
| 63 | if (nca == nullptr && !Core::Crypto::KeyManager::KeyFileExists(false)) | ||
| 64 | return ResultStatus::ErrorMissingProductionKeyFile; | 63 | return ResultStatus::ErrorMissingProductionKeyFile; |
| 65 | 64 | ||
| 66 | const auto result = nca_loader->Load(process); | 65 | const auto result = nca_loader->Load(process); |