small number mistake

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6122 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
dapetcu21 2010-08-24 08:51:54 +00:00
parent b7ecd01686
commit 153b019fcd
1 changed files with 1 additions and 1 deletions

View File

@ -414,7 +414,7 @@ void Wiimote::GetAccelData(u8* const data, u8* const buttons)
if (buttons)
{
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);
}
}