aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Horizon/Prepo/PrepoResult.cs
blob: 24e46d0c7904ee0c5b02d69a9f4c10e69ec3f800 (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
    }
}