From 153b019fcd62f4a74933cf44cbc8fc02337db863 Mon Sep 17 00:00:00 2001 From: dapetcu21 Date: Tue, 24 Aug 2010 08:51:54 +0000 Subject: [PATCH] small number mistake git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6122 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Plugins/Plugin_WiimoteNew/Src/WiimoteEmu/WiimoteEmu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } }