mirror of
https://github.com/GreemDev/Ryujinx.git
synced 2025-02-21 13:00:30 +01:00
misc: chore: null-coalesce led rainbow checking in headless
This commit is contained in:
parent
12f0dbcc70
commit
52b0b45d34
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user