mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
remove Binary/win32 and Binary/x64 from the svn, and auto copy everything there. Also fix a bug with padsimple where if you stopped emulation while the pad was rumbling, it would do so indefinitely.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1157 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -197,6 +197,13 @@ void PAD_Shutdown()
|
||||
#endif
|
||||
#ifdef _WIN32
|
||||
dinput.Free();
|
||||
// Kill xpad rumble
|
||||
XINPUT_VIBRATION vib;
|
||||
vib.wLeftMotorSpeed = 0;
|
||||
vib.wRightMotorSpeed = 0;
|
||||
for (int i = 0; i < 4; i++)
|
||||
if (pad[i].bRumble)
|
||||
XInputSetState(pad[i].XPadPlayer, &vib);
|
||||
#endif
|
||||
SaveConfig();
|
||||
}
|
||||
|
Reference in New Issue
Block a user