mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-10-08 04:49:26 +02:00
misc: chore: Merge into pattern
This commit is contained in:
@@ -1141,7 +1141,7 @@ namespace Ryujinx.HLE.HOS.Services.Hid
|
||||
NpadStyleIndex deviceType = (NpadStyleIndex)deviceHandle.DeviceType;
|
||||
NpadIdType npadIdType = (NpadIdType)deviceHandle.PlayerId;
|
||||
|
||||
if (deviceType < NpadStyleIndex.System || deviceType >= NpadStyleIndex.FullKey)
|
||||
if (deviceType is < NpadStyleIndex.System or >= NpadStyleIndex.FullKey)
|
||||
{
|
||||
if (!HidUtils.IsValidNpadIdType(npadIdType))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user