mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-25 23:29:44 -06:00
small number mistake
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6122 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -414,7 +414,7 @@ void Wiimote::GetAccelData(u8* const data, u8* const buttons)
|
|||||||
if (buttons)
|
if (buttons)
|
||||||
{
|
{
|
||||||
buttons[0]|=(u8(cx*4)&3)<<5;
|
buttons[0]|=(u8(cx*4)&3)<<5;
|
||||||
buttons[1]|=((u8(cy*4)&1)<<5)|((u8(cz*4)&1)<<6);
|
buttons[1]|=((u8(cy*2)&1)<<5)|((u8(cz*2)&1)<<6);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user