Fix another NullReferenceException (#6826)

This commit is contained in:
TSRBerry 2024-05-18 01:11:30 +02:00 committed by GitHub
parent 8f51938e2b
commit 2f427deb67
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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;