diff options
author | Lioncash <mathew1800@gmail.com> | 2018-10-14 21:41:58 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-10-15 17:02:11 -0400 |
commit | bed872ed38e19d34c6c2e3d1a3d35a9f72e46970 (patch) | |
tree | 6533551afe9c5432fa8789a1517a97111d0041c6 /src/core/loader/loader.h | |
parent | bb9cf8a127baf83aa3ebdef5b17d9bdd69869b4a (diff) |
nso: Return an optional address from LoadModule
If a malformed NSO is attempted to be loaded, we shouldn't continue
onwards. We should be reporting an error and bailing out.
Diffstat (limited to 'src/core/loader/loader.h')
-rw-r--r-- | src/core/loader/loader.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/loader/loader.h b/src/core/loader/loader.h index 0e0333db56..e562b3a045 100644 --- a/src/core/loader/loader.h +++ b/src/core/loader/loader.h @@ -90,6 +90,7 @@ enum class ResultStatus : u16 { ErrorNoRomFS, ErrorIncorrectELFFileSize, ErrorLoadingNRO, + ErrorLoadingNSO, ErrorNoIcon, ErrorNoControl, ErrorBadNAXHeader, |