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.
This commit is contained in:
parent
bb9cf8a127
commit
bed872ed38
5 changed files with 29 additions and 16 deletions
|
@ -90,6 +90,7 @@ enum class ResultStatus : u16 {
|
|||
ErrorNoRomFS,
|
||||
ErrorIncorrectELFFileSize,
|
||||
ErrorLoadingNRO,
|
||||
ErrorLoadingNSO,
|
||||
ErrorNoIcon,
|
||||
ErrorNoControl,
|
||||
ErrorBadNAXHeader,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue