Update SDL2Gamepad.cs
This commit is contained in:
parent
898153ae13
commit
5276991517
@ -106,6 +106,7 @@ namespace Ryujinx.Input.SDL2
|
|||||||
public void SetLedColor()
|
public void SetLedColor()
|
||||||
{
|
{
|
||||||
if (!HasConfiguration) return;
|
if (!HasConfiguration) return;
|
||||||
|
if (!_configuration.Led.EnableLed) return;
|
||||||
|
|
||||||
uint _rawColor = _configuration.Led.LedColor;
|
uint _rawColor = _configuration.Led.LedColor;
|
||||||
byte red = (byte)(_rawColor >> 16);
|
byte red = (byte)(_rawColor >> 16);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user