summaryrefslogtreecommitdiff
path: root/src/core/loader
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/loader')
-rw-r--r--src/core/loader/loader.h3
-rw-r--r--src/core/loader/xci.cpp2
2 files changed, 3 insertions, 2 deletions
diff --git a/src/core/loader/loader.h b/src/core/loader/loader.h
index dc8d28311..cd8b41bb6 100644
--- a/src/core/loader/loader.h
+++ b/src/core/loader/loader.h
@@ -73,7 +73,8 @@ enum class ResultStatus {
73 ErrorNotUsed, 73 ErrorNotUsed,
74 ErrorAlreadyLoaded, 74 ErrorAlreadyLoaded,
75 ErrorMemoryAllocationFailed, 75 ErrorMemoryAllocationFailed,
76 ErrorEncrypted, 76 ErrorMissingKeys,
77 ErrorDecrypting,
77 ErrorUnsupportedArch, 78 ErrorUnsupportedArch,
78}; 79};
79 80
diff --git a/src/core/loader/xci.cpp b/src/core/loader/xci.cpp
index 74940fb83..d757862f0 100644
--- a/src/core/loader/xci.cpp
+++ b/src/core/loader/xci.cpp
@@ -49,7 +49,7 @@ ResultStatus AppLoader_XCI::Load(Kernel::SharedPtr<Kernel::Process>& process) {
49 } 49 }
50 50
51 if (xci->GetNCAFileByType(FileSys::NCAContentType::Program) == nullptr) { 51 if (xci->GetNCAFileByType(FileSys::NCAContentType::Program) == nullptr) {
52 return ResultStatus::ErrorEncrypted; 52 return ResultStatus::ErrorDecrypting;
53 } 53 }
54 54
55 auto result = nca_loader->Load(process); 55 auto result = nca_loader->Load(process);