Fix another NullReferenceException (#6826)

This commit is contained in:
TSRBerry authored and GitHub committed 2024-05-17 20:11:30 -03:00
1 parent 8f51938e2b
commit 2f427deb67
1 file changed
+1 -1
+1 -1
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;