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

        Success = 0,

        ProgramLocationEntryNotFound           = (2  << ErrorCodeShift) | ModuleId,
        InvalidContextForControlLocation       = (3  << ErrorCodeShift) | ModuleId,
        StorageNotFound                        = (4  << ErrorCodeShift) | ModuleId,
        AccessDenied                           = (5  << ErrorCodeShift) | ModuleId,
        OfflineManualHTMLLocationEntryNotFound = (6  << ErrorCodeShift) | ModuleId,
        TitleIsNotRegistered                   = (7  << ErrorCodeShift) | ModuleId,
        ControlLocationEntryForHostNotFound    = (8  << ErrorCodeShift) | ModuleId,
        LegalInfoHTMLLocationEntryNotFound     = (9  << ErrorCodeShift) | ModuleId,
        ProgramLocationForDebugEntryNotFound   = (10 << ErrorCodeShift) | ModuleId
    }
}