ryujinx/Ryujinx.HLE/HOS/Services/Vi/ResultCode.cs

17 lines
531 B
C#
Raw Normal View History

namespace Ryujinx.HLE.HOS.Services.Vi
{
enum ResultCode
{
ModuleId = 114,
ErrorCodeShift = 9,
Success = 0,
InvalidArguments = (1 << ErrorCodeShift) | ModuleId,
InvalidLayerSize = (4 << ErrorCodeShift) | ModuleId,
InvalidRange = (5 << ErrorCodeShift) | ModuleId,
InvalidScalingMode = (6 << ErrorCodeShift) | ModuleId,
InvalidValue = (7 << ErrorCodeShift) | ModuleId,
AlreadyOpened = (9 << ErrorCodeShift) | ModuleId
}
}