mirror of
https://github.com/DarthAffe/RGB.NET.git
synced 2025-12-13 01:58:30 +00:00
Added a workaround for some weird issue with the x86 razer-sdk
This commit is contained in:
parent
3aa1fd2051
commit
7b5895d2a4
@ -99,7 +99,8 @@ namespace RGB.NET.Devices.Razer
|
||||
_RazerSDK.Reload();
|
||||
|
||||
RazerError error;
|
||||
if ((error = _RazerSDK.Init()) != RazerError.Success)
|
||||
if (((error = _RazerSDK.Init()) != RazerError.Success)
|
||||
&& Enum.IsDefined(typeof(RazerError), error)) //HACK DarthAffe 08.02.2018: The x86-SDK seems to have a problem here ...
|
||||
ThrowRazerError(error);
|
||||
|
||||
IList<IRGBDevice> devices = new List<IRGBDevice>();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user