Fix another NullReferenceException

This commit is contained in:
TSR Berry 2024-05-18 00:40:56 +02:00
commit b5c65559b5
No known key found for this signature in database
GPG key ID: 52353C0A4CCA15E2

View file

@ -176,7 +176,7 @@ namespace Ryujinx.Input.HLE
{ {
foreach (InputConfig inputConfig in _inputConfig) foreach (InputConfig inputConfig in _inputConfig)
{ {
_controllers[(int)inputConfig.PlayerIndex].GamepadDriver?.Clear(); _controllers[(int)inputConfig.PlayerIndex]?.GamepadDriver?.Clear();
} }
_blockInputUpdates = false; _blockInputUpdates = false;