aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Horizon/Prepo/PrepoResult.cs
blob: 4c6bc7a45a556490c4b8656c6c6244cc4db77f20 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
using Ryujinx.Horizon.Common;

namespace Ryujinx.Horizon.Prepo
{
    static class PrepoResult
    {
        private const int ModuleId = 129;

#pragma warning disable IDE0055 // Disable formatting
        public static Result InvalidArgument   => new(ModuleId, 1);
        public static Result InvalidState      => new(ModuleId, 5);
        public static Result InvalidBufferSize => new(ModuleId, 9);
        public static Result PermissionDenied  => new(ModuleId, 90);
        public static Result InvalidPid        => new(ModuleId, 101);
#pragma warning restore IDE0055
    }
}