Skip to content

Commit

Permalink
Fix another NullReferenceException (#6826)
Browse files Browse the repository at this point in the history
  • Loading branch information
TSRBerry committed May 17, 2024
1 parent 8f51938 commit 2f427de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Ryujinx.Input/HLE/NpadManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ public void UnblockInputUpdates()
{
foreach (InputConfig inputConfig in _inputConfig)
{
_controllers[(int)inputConfig.PlayerIndex].GamepadDriver?.Clear();
_controllers[(int)inputConfig.PlayerIndex]?.GamepadDriver?.Clear();
}

_blockInputUpdates = false;
Expand Down

0 comments on commit 2f427de

Please sign in to comment.