diff options
| author | VolcaEM <63682805+VolcaEM@users.noreply.github.com> | 2020-05-08 16:06:32 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-08 16:06:32 +0200 |
| commit | fe72bc9274182f9777321637444c0637bb7c5c95 (patch) | |
| tree | d137afe62b18f81db5ebd51105b8da889c61ac25 | |
| parent | 0711ffd52b2d90e35d64359b86000d01ae5b5edc (diff) | |
Add various error codes to NCM LR (#1225)
The error codes were taken from Switchbrew (https://switchbrew.org/wiki/Error_codes)
| -rw-r--r-- | Ryujinx.HLE/HOS/Services/Ncm/Lr/ResultCode.cs | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/Ryujinx.HLE/HOS/Services/Ncm/Lr/ResultCode.cs b/Ryujinx.HLE/HOS/Services/Ncm/Lr/ResultCode.cs index 5ff7e466..d21fe634 100644 --- a/Ryujinx.HLE/HOS/Services/Ncm/Lr/ResultCode.cs +++ b/Ryujinx.HLE/HOS/Services/Ncm/Lr/ResultCode.cs @@ -7,7 +7,14 @@ Success = 0, - ProgramLocationEntryNotFound = (2 << ErrorCodeShift) | ModuleId, - AccessDenied = (5 << ErrorCodeShift) | ModuleId + ProgramLocationEntryNotFound = (2 << ErrorCodeShift) | ModuleId, + InvalidContextForControlLocation = (3 << ErrorCodeShift) | ModuleId, + StorageNotFound = (4 << ErrorCodeShift) | ModuleId, + AccessDenied = (5 << ErrorCodeShift) | ModuleId, + OfflineManualHTMLLocationEntryNotFound = (6 << ErrorCodeShift) | ModuleId, + TitleIsNotRegistered = (7 << ErrorCodeShift) | ModuleId, + ControlLocationEntryForHostNotFound = (8 << ErrorCodeShift) | ModuleId, + LegalInfoHTMLLocationEntryNotFound = (9 << ErrorCodeShift) | ModuleId, + ProgramLocationForDebugEntryNotFound = (10 << ErrorCodeShift) | ModuleId } -}
\ No newline at end of file +} |
