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

        Success = 0,

        PathDoesNotExist  = (1    << ErrorCodeShift) | ModuleId,
        PathAlreadyExists = (2    << ErrorCodeShift) | ModuleId,
        PathAlreadyInUse  = (7    << ErrorCodeShift) | ModuleId,
        PartitionNotFound = (1001 << ErrorCodeShift) | ModuleId,
        InvalidInput      = (6001 << ErrorCodeShift) | ModuleId
    }
}