Sorry, a quick fix.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4926 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
267fd392d7
commit
aa143054eb
|
@ -403,13 +403,13 @@ void EmulateAnalogStick(unsigned char &stickX, unsigned char &stickY, bool butto
|
|||
|
||||
if ((mainX == 0) || (mainY == 0))
|
||||
{
|
||||
stickX = mainX;
|
||||
stickY = mainY;
|
||||
stickX += mainX;
|
||||
stickY += mainY;
|
||||
}
|
||||
else
|
||||
{
|
||||
stickX = mainX * DIAGONAL_SCALE;
|
||||
stickY = mainY * DIAGONAL_SCALE;
|
||||
stickX += mainX * DIAGONAL_SCALE;
|
||||
stickY += mainY * DIAGONAL_SCALE;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue