diff options
| author | Marco Carvalho <marcolucio27@gmail.com> | 2023-06-15 00:54:27 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-15 03:54:27 +0000 |
| commit | 32d21ddf17ff7d61d8185a79bec3f5d02706109b (patch) | |
| tree | 98c2409a91cfae028ccbbacea9b50126527ec9a6 /src/Ryujinx.Common | |
| parent | 82f90704a0662bba7254cb0bc262d785acdabc67 (diff) | |
Inheritance list should not be redundant (#5230)
Diffstat (limited to 'src/Ryujinx.Common')
| -rw-r--r-- | src/Ryujinx.Common/Configuration/Hid/ControllerType.cs | 2 | ||||
| -rw-r--r-- | src/Ryujinx.Common/Configuration/Hid/PlayerIndex.cs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Ryujinx.Common/Configuration/Hid/ControllerType.cs b/src/Ryujinx.Common/Configuration/Hid/ControllerType.cs index 70f811c8..1c273537 100644 --- a/src/Ryujinx.Common/Configuration/Hid/ControllerType.cs +++ b/src/Ryujinx.Common/Configuration/Hid/ControllerType.cs @@ -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, diff --git a/src/Ryujinx.Common/Configuration/Hid/PlayerIndex.cs b/src/Ryujinx.Common/Configuration/Hid/PlayerIndex.cs index dd6495d4..4e9a0434 100644 --- a/src/Ryujinx.Common/Configuration/Hid/PlayerIndex.cs +++ b/src/Ryujinx.Common/Configuration/Hid/PlayerIndex.cs @@ -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, |
