2023-01-08 12:13:39 +00:00
|
|
|
|
using Ryujinx.Horizon.Common;
|
|
|
|
|
|
|
|
|
|
namespace Ryujinx.Horizon.Prepo
|
|
|
|
|
{
|
|
|
|
|
static class PrepoResult
|
|
|
|
|
{
|
|
|
|
|
private const int ModuleId = 129;
|
|
|
|
|
|
2023-07-01 10:42:10 +00:00
|
|
|
|
#pragma warning disable IDE0055 // Disable formatting
|
2023-01-08 12:13:39 +00:00
|
|
|
|
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);
|
2023-07-01 10:42:10 +00:00
|
|
|
|
#pragma warning restore IDE0055
|
2023-01-08 12:13:39 +00:00
|
|
|
|
}
|
2023-07-01 10:42:10 +00:00
|
|
|
|
}
|