mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-12 11:38:01 -05:00
Use more descriptive error codes and messages
This commit is contained in:
@ -73,7 +73,8 @@ enum class ResultStatus {
|
||||
ErrorNotUsed,
|
||||
ErrorAlreadyLoaded,
|
||||
ErrorMemoryAllocationFailed,
|
||||
ErrorEncrypted,
|
||||
ErrorMissingKeys,
|
||||
ErrorDecrypting,
|
||||
ErrorUnsupportedArch,
|
||||
};
|
||||
|
||||
|
@ -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);
|
||||
|
Reference in New Issue
Block a user