Update SDL2Gamepad.cs

This commit is contained in:
Evan Husted 2025-01-22 22:37:03 -06:00 committed by GitHub
parent 898153ae13
commit 5276991517
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -106,6 +106,7 @@ namespace Ryujinx.Input.SDL2
public void SetLedColor()
{
if (!HasConfiguration) return;
if (!_configuration.Led.EnableLed) return;
uint _rawColor = _configuration.Led.LedColor;
byte red = (byte)(_rawColor >> 16);