diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-08-19 03:31:42 +0300 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-08-19 03:31:42 +0300 |
commit | 4d1cfb7214a4867487f128c7e3360681f47e0239 (patch) | |
tree | 8ee67a9a78715308604c5422229977722e447603 /src/core/Pad.cpp | |
parent | c559b71bc96c289cdad8c166ec379ee2df93c995 (diff) |
Island loading cleanup and fix
Diffstat (limited to 'src/core/Pad.cpp')
-rw-r--r-- | src/core/Pad.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/Pad.cpp b/src/core/Pad.cpp index d4ffc5ea..3b46a110 100644 --- a/src/core/Pad.cpp +++ b/src/core/Pad.cpp @@ -11,7 +11,11 @@ #include "platform.h" #ifdef XINPUT #include <xinput.h> +#if !defined(PSAPI_VERSION) || (PSAPI_VERSION > 1) #pragma comment( lib, "Xinput9_1_0.lib" ) +#else +#pragma comment( lib, "Xinput.lib" ) +#endif #endif #include "Pad.h" |