More power for X360 rumble (issue 770).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2747 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
393d477f27
commit
bc95b606c4
|
@ -811,7 +811,10 @@ void PAD_Rumble(u8 _numPAD, unsigned int _uType, unsigned int _uStrength)
|
||||||
}
|
}
|
||||||
else if (_uType == 1)
|
else if (_uType == 1)
|
||||||
{
|
{
|
||||||
a = _uStrength > 2 ? 8000 : 0;
|
// Put big number lower if the rumble is too strong.
|
||||||
|
// Original value was 8000, but this was too weak for
|
||||||
|
// parts of some games.
|
||||||
|
a = _uStrength > 2 ? 65535 : 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
a = int ((float)a * 0.96f);
|
a = int ((float)a * 0.96f);
|
||||||
|
|
Loading…
Reference in New Issue