From c8d7226a5f858157bf46af8baa09436308721256 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Wed, 27 Sep 2023 12:07:21 +0200 Subject: [PATCH] DInput: Seems sometimes we never check for pads on startup? Fix that. --- Windows/DinputDevice.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Windows/DinputDevice.cpp b/Windows/DinputDevice.cpp index 2115d857f7..0581f522e3 100644 --- a/Windows/DinputDevice.cpp +++ b/Windows/DinputDevice.cpp @@ -145,7 +145,7 @@ DinputDevice::DinputDevice(int devnum) { return; } - getDevices(false); + getDevices(needsCheck_); if ( (devnum >= (int)devices.size()) || FAILED(getPDI()->CreateDevice(devices.at(devnum).guidInstance, &pJoystick, NULL))) { return;