mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-10-04 00:28:55 +02:00
misc: chore: Merge into pattern
This commit is contained in:
@@ -173,7 +173,7 @@ namespace Ryujinx.HLE.HOS
|
||||
// Look for the input of the player one or the handheld.
|
||||
foreach (GamepadInput input in gamepadInputs)
|
||||
{
|
||||
if (input.PlayerId == PlayerIndex.Player1 || input.PlayerId == PlayerIndex.Handheld)
|
||||
if (input.PlayerId is PlayerIndex.Player1 or PlayerIndex.Handheld)
|
||||
{
|
||||
Volatile.Write(ref _pressedKeys, (long)input.Buttons);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user