From 31e9b1ebdd1e600d74c91e463b044b11dc5c9357 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 1 Aug 2014 01:18:36 -0400 Subject: [PATCH] Core: Fix Y-data not being assigned in Drums.cpp Prior to this we were overwriting the x-axis with y-axis data. --- Source/Core/Core/HW/WiimoteEmu/Attachment/Drums.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Core/HW/WiimoteEmu/Attachment/Drums.cpp b/Source/Core/Core/HW/WiimoteEmu/Attachment/Drums.cpp index b648f14839..01eee0f3ec 100644 --- a/Source/Core/Core/HW/WiimoteEmu/Attachment/Drums.cpp +++ b/Source/Core/Core/HW/WiimoteEmu/Attachment/Drums.cpp @@ -64,7 +64,7 @@ void Drums::GetState(u8* const data) m_stick->GetState(&x, &y); ddata->sx = (x * 0x1F) + 0x20; - ddata->sx = (y * 0x1F) + 0x20; + ddata->sy = (y * 0x1F) + 0x20; } // TODO: softness maybe