diff options
author | TSRBerry <20988865+TSRBerry@users.noreply.github.com> | 2024-05-18 01:11:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-17 20:11:30 -0300 |
commit | 2f427deb672cfae9f5d607da77086b75720fe416 (patch) | |
tree | 09662facd9a098d0c4060cb2b5c9b57c58fab45c /src | |
parent | 8f51938e2b22ee438ce8f849cc9258026ec5da29 (diff) |
Fix another NullReferenceException (#6826)1.1.1316
Diffstat (limited to 'src')
-rw-r--r-- | src/Ryujinx.Input/HLE/NpadManager.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Ryujinx.Input/HLE/NpadManager.cs b/src/Ryujinx.Input/HLE/NpadManager.cs index 1bc54d69..1dc87358 100644 --- a/src/Ryujinx.Input/HLE/NpadManager.cs +++ b/src/Ryujinx.Input/HLE/NpadManager.cs @@ -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; |