From 4f0dc3e832145291463dfe2c1713b231750cafe0 Mon Sep 17 00:00:00 2001 From: Jason Felds Date: Mon, 23 Sep 2013 21:06:33 -0400 Subject: [PATCH] CatWEax is right: fix up alignment. Hoping I fixed it the right way. --- src/arch/Lights/LightsDriver_Linux_PIUIO.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/arch/Lights/LightsDriver_Linux_PIUIO.cpp b/src/arch/Lights/LightsDriver_Linux_PIUIO.cpp index e6f7049e4f..8895567f11 100644 --- a/src/arch/Lights/LightsDriver_Linux_PIUIO.cpp +++ b/src/arch/Lights/LightsDriver_Linux_PIUIO.cpp @@ -63,7 +63,7 @@ void LightsDriver_Linux_PIUIO::Set( const LightsState *ls ) if (ls->m_bGameButtonLights[GameController_2][PUMP_BUTTON_UPRIGHT]) buf[2] |= 0x08; if (ls->m_bGameButtonLights[GameController_2][PUMP_BUTTON_CENTER]) buf[2] |= 0x10; if (ls->m_bGameButtonLights[GameController_2][PUMP_BUTTON_DOWNLEFT]) buf[2] |= 0x20; - if (ls->m_bGameButtonLights[GameController_2][PUMP_BUTTON_DOWNRIGHT]) buf[2] |= 0x20; + if (ls->m_bGameButtonLights[GameController_2][PUMP_BUTTON_DOWNRIGHT]) buf[2] |= 0x40; } if (!memcmp(buf, oldbuf, 8)) return;