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:
parent
490dffc791
commit
3a145aeae4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue