Skip to content
Permalink
Browse files

ResetRumble on emu pause/stop regardless of presence of DInput/Xinput…

… as that's not relevant. All the backends would like to stop rumbling.
  • Loading branch information...
jordan-woyak committed Dec 22, 2018
1 parent 490dffc commit 3a145aeae4496a9d6fdb68208777711ac9b9ff18
Showing with 0 additions and 2 deletions.
  1. +0 −2 Source/Core/Core/Core.cpp
@@ -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

0 comments on commit 3a145ae

Please sign in to comment.
You can’t perform that action at this time.