aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/HOS/Services/Prepo/ResultCode.cs
blob: 3199e27055fc32ac2226e1153f99dd4795bf74de (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
namespace Ryujinx.HLE.HOS.Services.Prepo
{
    enum ResultCode
    {
        ModuleId       = 129,
        ErrorCodeShift = 9,

        Success = 0,

        InvalidArgument   = (1  << ErrorCodeShift) | ModuleId,
        InvalidState      = (5  << ErrorCodeShift) | ModuleId,
        InvalidBufferSize = (9  << ErrorCodeShift) | ModuleId,
        PermissionDenied  = (90 << ErrorCodeShift) | ModuleId
    }
}