Inheritance list should not be redundant (#5230)

This commit is contained in:
Marco Carvalho 2023-06-15 00:54:27 -03:00 committed by GitHub
parent 82f90704a0
commit 32d21ddf17
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 24 additions and 24 deletions

View file

@ -13,7 +13,7 @@
}
}
enum OpCode32SimdSelMode : int
enum OpCode32SimdSelMode
{
Eq = 0,
Vs,

View file

@ -1,6 +1,6 @@
namespace ARMeilleure.State
{
enum ExecutionMode : int
enum ExecutionMode
{
Aarch32Arm = 0,
Aarch32Thumb = 1,

View file

@ -1,6 +1,6 @@
namespace Ryujinx.Audio.Backends.SoundIo.Native
{
public enum SoundIoBackend : int
public enum SoundIoBackend
{
None = 0,
Jack = 1,

View file

@ -7,7 +7,7 @@ namespace Ryujinx.Common.Configuration.Hid
// This enum was duplicated from Ryujinx.HLE.HOS.Services.Hid.PlayerIndex and should be kept identical
[Flags]
[JsonConverter(typeof(TypedStringEnumConverter<ControllerType>))]
public enum ControllerType : int
public enum ControllerType
{
None,
ProController = 1 << 0,

View file

@ -5,7 +5,7 @@ namespace Ryujinx.Common.Configuration.Hid
{
// This enum was duplicated from Ryujinx.HLE.HOS.Services.Hid.PlayerIndex and should be kept identical
[JsonConverter(typeof(TypedStringEnumConverter<PlayerIndex>))]
public enum PlayerIndex : int
public enum PlayerIndex
{
Player1 = 0,
Player2 = 1,

View file

@ -3,7 +3,7 @@ using System.Runtime.InteropServices;
namespace Ryujinx.Graphics.Vulkan.MoltenVK
{
enum MVKConfigLogLevel : int
enum MVKConfigLogLevel
{
None = 0,
Error = 1,
@ -12,7 +12,7 @@ namespace Ryujinx.Graphics.Vulkan.MoltenVK
Debug = 4
}
enum MVKConfigTraceVulkanCalls : int
enum MVKConfigTraceVulkanCalls
{
None = 0,
Enter = 1,
@ -20,7 +20,7 @@ namespace Ryujinx.Graphics.Vulkan.MoltenVK
Duration = 3
}
enum MVKConfigAutoGPUCaptureScope : int
enum MVKConfigAutoGPUCaptureScope
{
None = 0,
Device = 1,
@ -28,7 +28,7 @@ namespace Ryujinx.Graphics.Vulkan.MoltenVK
}
[Flags]
enum MVKConfigAdvertiseExtensions : int
enum MVKConfigAdvertiseExtensions
{
All = 0x00000001,
MoltenVK = 0x00000002,
@ -36,7 +36,7 @@ namespace Ryujinx.Graphics.Vulkan.MoltenVK
Portability = 0x00000008
}
enum MVKVkSemaphoreSupportStyle : int
enum MVKVkSemaphoreSupportStyle
{
MVK_CONFIG_VK_SEMAPHORE_SUPPORT_STYLE_SINGLE_QUEUE = 0,
MVK_CONFIG_VK_SEMAPHORE_SUPPORT_STYLE_METAL_EVENTS_WHERE_SAFE = 1,

View file

@ -3,7 +3,7 @@ using System;
namespace Ryujinx.HLE.HOS.Services.Hid
{
[Flags]
public enum ControllerType : int
public enum ControllerType
{
None,
ProController = 1 << 0,

View file

@ -1,6 +1,6 @@
namespace Ryujinx.HLE.HOS.Services.Hid
{
public enum NpadIdType : int
public enum NpadIdType
{
Player1 = 0,
Player2 = 1,

View file

@ -1,6 +1,6 @@
namespace Ryujinx.HLE.HOS.Services.Hid
{
public enum PlayerIndex : int
public enum PlayerIndex
{
Player1 = 0,
Player2 = 1,

View file

@ -3,7 +3,7 @@
namespace Ryujinx.HLE.HOS.Services.Hid.Types.SharedMemory.Npad
{
[Flags]
enum DeviceType : int
enum DeviceType
{
None = 0,

View file

@ -1,6 +1,6 @@
namespace Ryujinx.HLE.HOS.Services.Hid.Types.SharedMemory.Npad
{
enum NpadBatteryLevel : int
enum NpadBatteryLevel
{
Percent0,
Percent25,

View file

@ -775,7 +775,7 @@ namespace Ryujinx.HLE.HOS.Services.Mii.Types
private static ReadOnlySpan<ElementInfo> ElementInfos => MemoryMarshal.Cast<byte, ElementInfo>(ElementInfoArray);
private enum ElementInfoIndex : int
private enum ElementInfoIndex
{
HairType,
Height,

View file

@ -21,7 +21,7 @@ namespace Ryujinx.HLE.HOS.Services.Mii.Types
};
[Flags]
public enum BeardAndMustacheFlag : int
public enum BeardAndMustacheFlag
{
Beard = 1,
Mustache

View file

@ -1,6 +1,6 @@
namespace Ryujinx.HLE.HOS.Services.Mii.Types
{
enum Source : int
enum Source
{
Database,
Default

View file

@ -3,7 +3,7 @@
namespace Ryujinx.HLE.HOS.Services.Mii.Types
{
[Flags]
enum SourceFlag : int
enum SourceFlag
{
Database = 1 << Source.Database,
Default = 1 << Source.Default,

View file

@ -1,6 +1,6 @@
namespace Ryujinx.HLE.HOS.Services.Nv.NvDrvServices
{
enum NvInternalResult : int
enum NvInternalResult
{
Success = 0,
OperationNotPermitted = -1,

View file

@ -1,6 +1,6 @@
namespace Ryujinx.HLE.HOS.Services.Nv.NvDrvServices.NvMap
{
enum NvMapHandleParam : int
enum NvMapHandleParam
{
Size = 1,
Align = 2,

View file

@ -5,7 +5,7 @@ using System.Net.Sockets;
namespace Ryujinx.HLE.HOS.Services.Sockets.Bsd
{
interface ISocket : IDisposable, IFileDescriptor
interface ISocket : IFileDescriptor
{
IPEndPoint RemoteEndPoint { get; }
IPEndPoint LocalEndPoint { get; }

View file

@ -1,6 +1,6 @@
namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger
{
enum NativeWindowApi : int
enum NativeWindowApi
{
NoApi = 0,
NVN = 1,

View file

@ -1,6 +1,6 @@
namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger
{
enum Status : int
enum Status
{
Success = 0,
WouldBlock = -11,