mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-20 04:16:34 +00:00
Add various error codes to AM (#1183)
* Add various error codes to AM The error codes were taken from Switchbrew (https://switchbrew.org/wiki/Error_codes) * TitleID -> TitleId
This commit is contained in:
parent
81cba3c3df
commit
8a7c00c39a
1 changed files with 11 additions and 2 deletions
|
@ -9,10 +9,19 @@ namespace Ryujinx.HLE.HOS.Services.Am
|
||||||
|
|
||||||
NotAvailable = (2 << ErrorCodeShift) | ModuleId,
|
NotAvailable = (2 << ErrorCodeShift) | ModuleId,
|
||||||
NoMessages = (3 << ErrorCodeShift) | ModuleId,
|
NoMessages = (3 << ErrorCodeShift) | ModuleId,
|
||||||
|
AppletLaunchFailed = (35 << ErrorCodeShift) | ModuleId,
|
||||||
|
TitleIdNotFound = (37 << ErrorCodeShift) | ModuleId,
|
||||||
ObjectInvalid = (500 << ErrorCodeShift) | ModuleId,
|
ObjectInvalid = (500 << ErrorCodeShift) | ModuleId,
|
||||||
|
IStorageInUse = (502 << ErrorCodeShift) | ModuleId,
|
||||||
OutOfBounds = (503 << ErrorCodeShift) | ModuleId,
|
OutOfBounds = (503 << ErrorCodeShift) | ModuleId,
|
||||||
InvalidParameters = (506 << ErrorCodeShift) | ModuleId,
|
InvalidParameters = (506 << ErrorCodeShift) | ModuleId,
|
||||||
|
OpenedAsWrongType = (511 << ErrorCodeShift) | ModuleId,
|
||||||
UnbalancedFatalSection = (512 << ErrorCodeShift) | ModuleId,
|
UnbalancedFatalSection = (512 << ErrorCodeShift) | ModuleId,
|
||||||
NullObject = (518 << ErrorCodeShift) | ModuleId
|
NullObject = (518 << ErrorCodeShift) | ModuleId,
|
||||||
|
MemoryAllocationFailed = (600 << ErrorCodeShift) | ModuleId,
|
||||||
|
StackPoolExhausted = (712 << ErrorCodeShift) | ModuleId,
|
||||||
|
DebugModeNotEnabled = (974 << ErrorCodeShift) | ModuleId,
|
||||||
|
DevFunctionNotEnabled = (980 << ErrorCodeShift) | ModuleId,
|
||||||
|
NotImplemented = (998 << ErrorCodeShift) | ModuleId
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue