ResetRumble on emu pause/stop regardless of presence of DInput/Xinput as that's not relevant. All the backends would like to stop rumbling.

This commit is contained in:
Jordan Woyak 2018-12-21 20:00:27 -06:00
parent 490dffc791
commit 3a145aeae4
1 changed files with 0 additions and 2 deletions

View File

@ -227,12 +227,10 @@ static void ResetRumble()
#if defined(__LIBUSB__)
GCAdapter::ResetRumble();
#endif
#if defined(CIFACE_USE_XINPUT) || defined(CIFACE_USE_DINPUT)
if (!Pad::IsInitialized())
return;
for (int i = 0; i < 4; ++i)
Pad::ResetRumble(i);
#endif
}
// Called from GUI thread