1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-12-21 10:12:02 +00:00
Ryujinx/Ryujinx.HLE/HOS/Services/Nifm/ResultCode.cs
mageven 5644780e6e
Stub nifm IRequest GetAppletInfo (#1326)
* Stub GetAppletInfo to be consistent with GetResult

* Fix formatting and enum

* Update and use ResultCode
2020-07-04 00:48:07 +02:00

15 lines
No EOL
473 B
C#

namespace Ryujinx.HLE.HOS.Services.Nifm
{
enum ResultCode
{
ModuleId = 110,
ErrorCodeShift = 9,
Success = 0,
Unknown112 = (112 << ErrorCodeShift) | ModuleId, // IRequest::GetResult
Unknown180 = (180 << ErrorCodeShift) | ModuleId, // IRequest::GetAppletInfo
NoInternetConnection = (300 << ErrorCodeShift) | ModuleId,
ObjectIsNull = (350 << ErrorCodeShift) | ModuleId
}
}