2019-07-14 12:04:38 -07:00
|
|
|
namespace Ryujinx.HLE.HOS.Services.Am
|
|
|
|
{
|
|
|
|
enum ResultCode
|
|
|
|
{
|
|
|
|
ModuleId = 128,
|
|
|
|
ErrorCodeShift = 9,
|
|
|
|
|
|
|
|
Success = 0,
|
|
|
|
|
2020-03-03 19:41:41 -08:00
|
|
|
NotAvailable = (2 << ErrorCodeShift) | ModuleId,
|
|
|
|
NoMessages = (3 << ErrorCodeShift) | ModuleId,
|
2020-05-02 04:45:45 -07:00
|
|
|
AppletLaunchFailed = (35 << ErrorCodeShift) | ModuleId,
|
|
|
|
TitleIdNotFound = (37 << ErrorCodeShift) | ModuleId,
|
2020-03-03 19:41:41 -08:00
|
|
|
ObjectInvalid = (500 << ErrorCodeShift) | ModuleId,
|
2020-05-02 04:45:45 -07:00
|
|
|
IStorageInUse = (502 << ErrorCodeShift) | ModuleId,
|
2020-03-03 19:41:41 -08:00
|
|
|
OutOfBounds = (503 << ErrorCodeShift) | ModuleId,
|
2021-06-28 11:54:45 -07:00
|
|
|
BufferNotAcquired = (504 << ErrorCodeShift) | ModuleId,
|
|
|
|
BufferAlreadyAcquired = (505 << ErrorCodeShift) | ModuleId,
|
2020-03-03 19:41:41 -08:00
|
|
|
InvalidParameters = (506 << ErrorCodeShift) | ModuleId,
|
2020-05-02 04:45:45 -07:00
|
|
|
OpenedAsWrongType = (511 << ErrorCodeShift) | ModuleId,
|
2020-03-03 19:41:41 -08:00
|
|
|
UnbalancedFatalSection = (512 << ErrorCodeShift) | ModuleId,
|
2020-05-02 04:45:45 -07:00
|
|
|
NullObject = (518 << ErrorCodeShift) | ModuleId,
|
|
|
|
MemoryAllocationFailed = (600 << ErrorCodeShift) | ModuleId,
|
|
|
|
StackPoolExhausted = (712 << ErrorCodeShift) | ModuleId,
|
|
|
|
DebugModeNotEnabled = (974 << ErrorCodeShift) | ModuleId,
|
|
|
|
DevFunctionNotEnabled = (980 << ErrorCodeShift) | ModuleId,
|
2020-07-21 21:56:00 -07:00
|
|
|
NotImplemented = (998 << ErrorCodeShift) | ModuleId,
|
|
|
|
Stubbed = (999 << ErrorCodeShift) | ModuleId
|
2019-07-14 12:04:38 -07:00
|
|
|
}
|
2020-05-02 04:45:45 -07:00
|
|
|
}
|