mirror of
https://github.com/DarthAffe/RGB.NET.git
synced 2025-12-13 10:08:31 +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();
|
_RazerSDK.Reload();
|
||||||
|
|
||||||
RazerError error;
|
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);
|
ThrowRazerError(error);
|
||||||
|
|
||||||
IList<IRGBDevice> devices = new List<IRGBDevice>();
|
IList<IRGBDevice> devices = new List<IRGBDevice>();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user