summaryrefslogtreecommitdiffstats
path: root/src/core/loader
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2018-07-30 18:46:23 +0200
committerZach Hilman <zachhilman@gmail.com>2018-08-01 06:16:54 +0200
commit187d8e215fb157edaa9f3976bebba9a9a7ed103d (patch)
tree140cbfbd109281adc87c9c79ee07976ba54888cd /src/core/loader
parentUse static const instead of const static (diff)
downloadyuzu-187d8e215fb157edaa9f3976bebba9a9a7ed103d.tar
yuzu-187d8e215fb157edaa9f3976bebba9a9a7ed103d.tar.gz
yuzu-187d8e215fb157edaa9f3976bebba9a9a7ed103d.tar.bz2
yuzu-187d8e215fb157edaa9f3976bebba9a9a7ed103d.tar.lz
yuzu-187d8e215fb157edaa9f3976bebba9a9a7ed103d.tar.xz
yuzu-187d8e215fb157edaa9f3976bebba9a9a7ed103d.tar.zst
yuzu-187d8e215fb157edaa9f3976bebba9a9a7ed103d.zip
Diffstat (limited to '')
-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 {
ErrorNotUsed,
ErrorAlreadyLoaded,
ErrorMemoryAllocationFailed,
- ErrorEncrypted,
+ ErrorMissingKeys,
+ ErrorDecrypting,
ErrorUnsupportedArch,
};
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) {
}
if (xci->GetNCAFileByType(FileSys::NCAContentType::Program) == nullptr) {
- return ResultStatus::ErrorEncrypted;
+ return ResultStatus::ErrorDecrypting;
}
auto result = nca_loader->Load(process);