Fix another NullReferenceException

This commit is contained in:
TSR Berry 2024-05-18 00:40:56 +02:00
parent 8f51938e2b
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)
{
_controllers[(int)inputConfig.PlayerIndex].GamepadDriver?.Clear();
_controllers[(int)inputConfig.PlayerIndex]?.GamepadDriver?.Clear();
}
_blockInputUpdates = false;