mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-03 17:55:42 +00:00
Merge pull request #645 from winterhell/develop
Prevent crash when XInput is not present
This commit is contained in:
commit
d9f8120f0d
|
@ -381,7 +381,8 @@ namespace OpenTK.Platform.Windows
|
|||
}
|
||||
if (dll == IntPtr.Zero)
|
||||
{
|
||||
throw new NotSupportedException("XInput was not found on this platform");
|
||||
Debug.Print("XInput was not found on this platform");
|
||||
return;
|
||||
}
|
||||
|
||||
// Load the entry points we are interested in from that dll
|
||||
|
|
Loading…
Reference in a new issue