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

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

        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);
    }
}