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__)
|
#if defined(__LIBUSB__)
|
||||||
GCAdapter::ResetRumble();
|
GCAdapter::ResetRumble();
|
||||||
#endif
|
#endif
|
||||||
#if defined(CIFACE_USE_XINPUT) || defined(CIFACE_USE_DINPUT)
|
|
||||||
if (!Pad::IsInitialized())
|
if (!Pad::IsInitialized())
|
||||||
return;
|
return;
|
||||||
for (int i = 0; i < 4; ++i)
|
for (int i = 0; i < 4; ++i)
|
||||||
Pad::ResetRumble(i);
|
Pad::ResetRumble(i);
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Called from GUI thread
|
// Called from GUI thread
|
||||||
|
|
Loading…
Reference in New Issue