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

namespace Ryujinx.Horizon.Sdk.Ngc
{
    static class NgcResult
    {
        private const int ModuleId = 146;

        public static Result InvalidPointer => new(ModuleId, 3);
        public static Result InvalidSize => new(ModuleId, 4);
        public static Result InvalidUtf8Encoding => new(ModuleId, 5);
        public static Result AllocationFailed => new(ModuleId, 101);
        public static Result DataAccessError => new(ModuleId, 102);
        public static Result GenericUtf8Error => new(ModuleId, 103);
    }
}