Merge branch 'Ryubing:master' into master

This commit is contained in:
Willians 2025-02-18 19:59:54 -03:00 committed by GitHub
commit c325339cd0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -289,7 +289,8 @@ namespace Ryujinx.Headless
DriverUtilities.InitDriverConfig(option.BackendThreading == BackendThreading.Off);
if (_inputConfiguration.OfType<StandardControllerInputConfig>().Any(ic => ic.Led.UseRainbow))
if (_inputConfiguration.OfType<StandardControllerInputConfig>()
.Any(ic => ic?.Led?.UseRainbow ?? false))
Rainbow.Enable();
while (true)