mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-04 15:19:09 +00: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:
parent
15f39d41f3
commit
a3abeed4f2
10 changed files with 13 additions and 6 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue