DInput: Seems sometimes we never check for pads on startup? Fix that.
This commit is contained in:
parent
d6a8bfdf3e
commit
c8d7226a5f
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue