1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-10-01 12:30:00 +02:00

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, Eq = 0,
Vs, Vs,

View file

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

View file

@ -1,6 +1,6 @@
namespace Ryujinx.Audio.Backends.SoundIo.Native namespace Ryujinx.Audio.Backends.SoundIo.Native
{ {
public enum SoundIoBackend : int public enum SoundIoBackend
{ {
None = 0, None = 0,
Jack = 1, 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 // This enum was duplicated from Ryujinx.HLE.HOS.Services.Hid.PlayerIndex and should be kept identical
[Flags] [Flags]
[JsonConverter(typeof(TypedStringEnumConverter<ControllerType>))] [JsonConverter(typeof(TypedStringEnumConverter<ControllerType>))]
public enum ControllerType : int public enum ControllerType
{ {
None, None,
ProController = 1 << 0, 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 // This enum was duplicated from Ryujinx.HLE.HOS.Services.Hid.PlayerIndex and should be kept identical
[JsonConverter(typeof(TypedStringEnumConverter<PlayerIndex>))] [JsonConverter(typeof(TypedStringEnumConverter<PlayerIndex>))]
public enum PlayerIndex : int public enum PlayerIndex
{ {
Player1 = 0, Player1 = 0,
Player2 = 1, Player2 = 1,

View file

@ -3,7 +3,7 @@ using System.Runtime.InteropServices;
namespace Ryujinx.Graphics.Vulkan.MoltenVK namespace Ryujinx.Graphics.Vulkan.MoltenVK
{ {
enum MVKConfigLogLevel : int enum MVKConfigLogLevel
{ {
None = 0, None = 0,
Error = 1, Error = 1,
@ -12,7 +12,7 @@ namespace Ryujinx.Graphics.Vulkan.MoltenVK
Debug = 4 Debug = 4
} }
enum MVKConfigTraceVulkanCalls : int enum MVKConfigTraceVulkanCalls
{ {
None = 0, None = 0,
Enter = 1, Enter = 1,
@ -20,7 +20,7 @@ namespace Ryujinx.Graphics.Vulkan.MoltenVK
Duration = 3 Duration = 3
} }
enum MVKConfigAutoGPUCaptureScope : int enum MVKConfigAutoGPUCaptureScope
{ {
None = 0, None = 0,
Device = 1, Device = 1,
@ -28,7 +28,7 @@ namespace Ryujinx.Graphics.Vulkan.MoltenVK
} }
[Flags] [Flags]
enum MVKConfigAdvertiseExtensions : int enum MVKConfigAdvertiseExtensions
{ {
All = 0x00000001, All = 0x00000001,
MoltenVK = 0x00000002, MoltenVK = 0x00000002,
@ -36,7 +36,7 @@ namespace Ryujinx.Graphics.Vulkan.MoltenVK
Portability = 0x00000008 Portability = 0x00000008
} }
enum MVKVkSemaphoreSupportStyle : int enum MVKVkSemaphoreSupportStyle
{ {
MVK_CONFIG_VK_SEMAPHORE_SUPPORT_STYLE_SINGLE_QUEUE = 0, MVK_CONFIG_VK_SEMAPHORE_SUPPORT_STYLE_SINGLE_QUEUE = 0,
MVK_CONFIG_VK_SEMAPHORE_SUPPORT_STYLE_METAL_EVENTS_WHERE_SAFE = 1, 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 namespace Ryujinx.HLE.HOS.Services.Hid
{ {
[Flags] [Flags]
public enum ControllerType : int public enum ControllerType
{ {
None, None,
ProController = 1 << 0, ProController = 1 << 0,

View file

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

View file

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

View file

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

View file

@ -1,6 +1,6 @@
namespace Ryujinx.HLE.HOS.Services.Hid.Types.SharedMemory.Npad namespace Ryujinx.HLE.HOS.Services.Hid.Types.SharedMemory.Npad
{ {
enum NpadBatteryLevel : int enum NpadBatteryLevel
{ {
Percent0, Percent0,
Percent25, 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 static ReadOnlySpan<ElementInfo> ElementInfos => MemoryMarshal.Cast<byte, ElementInfo>(ElementInfoArray);
private enum ElementInfoIndex : int private enum ElementInfoIndex
{ {
HairType, HairType,
Height, Height,

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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