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