diff options
| author | dapetcu21 <dapetcu21@gmail.com> | 2010-08-24 08:51:54 +0000 |
|---|---|---|
| committer | dapetcu21 <dapetcu21@gmail.com> | 2010-08-24 08:51:54 +0000 |
| commit | 153b019fcd62f4a74933cf44cbc8fc02337db863 (patch) | |
| tree | 9e07821797c71458d1a5f661c0b2677f7e7e959e /Source | |
| parent | b7ecd01686fedb5a4c5b41aa833edeb98b7d85d9 (diff) | |
small number mistake
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6122 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source')
| -rw-r--r-- | Source/Plugins/Plugin_WiimoteNew/Src/WiimoteEmu/WiimoteEmu.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Plugins/Plugin_WiimoteNew/Src/WiimoteEmu/WiimoteEmu.cpp b/Source/Plugins/Plugin_WiimoteNew/Src/WiimoteEmu/WiimoteEmu.cpp index 13ac8ead5f..c7388f2f1d 100644 --- a/Source/Plugins/Plugin_WiimoteNew/Src/WiimoteEmu/WiimoteEmu.cpp +++ b/Source/Plugins/Plugin_WiimoteNew/Src/WiimoteEmu/WiimoteEmu.cpp @@ -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); } } |
