small number mistake
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6122 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
b7ecd01686
commit
153b019fcd
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue