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

@ -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,