mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-21 03:54:57 +00:00
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
1 changed files with 0 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue