mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-16 07:47:44 +01:00
Fix another NullReferenceException (#6826)
This commit is contained in:
parent
8f51938e2b
commit
2f427deb67
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue