aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.HLE/HOS/Services/Pm/ResultCode.cs
blob: 92b5925e4d056b5d59bfd2ed8f40b86a0d513f66 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
namespace Ryujinx.HLE.HOS.Services.Pm
{
    enum ResultCode
    {
        ModuleId       = 15,
        ErrorCodeShift = 9,

        Success = 0,

        ProcessNotFound    = (1 << ErrorCodeShift) | ModuleId,
        AlreadyStarted     = (2 << ErrorCodeShift) | ModuleId,
        NotTerminated      = (3 << ErrorCodeShift) | ModuleId,
        DebugHookInUse     = (4 << ErrorCodeShift) | ModuleId,
        ApplicationRunning = (5 << ErrorCodeShift) | ModuleId,
        InvalidSize        = (6 << ErrorCodeShift) | ModuleId,
    }
}