From dec7875a6e23212021e4d9080330a42832dfe02a Mon Sep 17 00:00:00 2001
From: Edward Rudd <urkle@outoforder.cc>
Date: Tue, 15 Jun 2021 01:40:19 +0000
Subject: [PATCH] update SDL soruce to 2.0.14
---
source/src/core/windows/SDL_xinput.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/source/src/core/windows/SDL_xinput.c b/source/src/core/windows/SDL_xinput.c
index 06d54aa..9a20164 100644
--- a/source/src/core/windows/SDL_xinput.c
+++ b/source/src/core/windows/SDL_xinput.c
@@ -20,7 +20,6 @@
*/
#include "../../SDL_internal.h"
-#include "SDL_assert.h"
#include "SDL_xinput.h"
@@ -82,6 +81,10 @@
return 0; /* already loaded */
}
+ /* NOTE: Don't load XinputUap.dll
+ * This is XInput emulation over Windows.Gaming.Input, and has all the
+ * limitations of that API (no devices at startup, no background input, etc.)
+ */
version = (1 << 16) | 4;
s_pXInputDLL = LoadLibrary(L"XInput1_4.dll"); /* 1.4 Ships with Windows 8. */
if (!s_pXInputDLL) {
--
Gitblit v1.9.3