2019-07-14 20:04:38 +01:00
|
|
|
namespace Ryujinx.HLE.HOS.Services.Am
|
|
|
|
{
|
|
|
|
enum ResultCode
|
|
|
|
{
|
|
|
|
ModuleId = 128,
|
|
|
|
ErrorCodeShift = 9,
|
|
|
|
|
|
|
|
Success = 0,
|
|
|
|
|
2020-03-04 03:41:41 +00:00
|
|
|
NotAvailable = (2 << ErrorCodeShift) | ModuleId,
|
|
|
|
NoMessages = (3 << ErrorCodeShift) | ModuleId,
|
|
|
|
ObjectInvalid = (500 << ErrorCodeShift) | ModuleId,
|
|
|
|
OutOfBounds = (503 << ErrorCodeShift) | ModuleId,
|
|
|
|
InvalidParameters = (506 << ErrorCodeShift) | ModuleId,
|
|
|
|
UnbalancedFatalSection = (512 << ErrorCodeShift) | ModuleId,
|
|
|
|
NullObject = (518 << ErrorCodeShift) | ModuleId
|
2019-07-14 20:04:38 +01:00
|
|
|
}
|
|
|
|
}
|