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:
Shawn Hoffman
2008-11-12 21:29:28 +00:00
parent 15f39d41f3
commit a3abeed4f2
10 changed files with 13 additions and 6 deletions

View File

@ -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();
}