mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 05:08:57 +00:00
buildfix for some wiimote plugin errors
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4651 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
bc0d6defc6
commit
e5e4e1f1b0
3 changed files with 8 additions and 4 deletions
|
@ -228,7 +228,7 @@ void SetDeviceForcesXY(int npad, int nXYForce)
|
|||
{
|
||||
rglDirection[0] = nXYForce;
|
||||
rglDirection[1] = nXYForce;
|
||||
cf.lMagnitude = 1.4142f*nXYForce;
|
||||
cf.lMagnitude = static_cast<LONG>(1.4142f*nXYForce);
|
||||
}
|
||||
|
||||
ZeroMemory(&pRumble[npad].eff, sizeof(pRumble[npad].eff));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue