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:
Marcus Wanners 2009-03-24 14:53:26 +00:00
parent 393d477f27
commit bc95b606c4
1 changed files with 4 additions and 1 deletions

View File

@ -811,7 +811,10 @@ void PAD_Rumble(u8 _numPAD, unsigned int _uType, unsigned int _uStrength)
}
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);