aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.HLE/HOS/Services/Pm/ResultCode.cs
blob: 9894cd2044b1d4308c9d199e95154a6cd42c13ef (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,
    }
}