mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 04:38:49 +00: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:
parent
b7ecd01686
commit
153b019fcd
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue