diff options
| author | Lioncash <mathew1800@gmail.com> | 2014-08-01 01:18:36 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2014-08-01 01:18:39 -0400 |
| commit | 31e9b1ebdd1e600d74c91e463b044b11dc5c9357 (patch) | |
| tree | 7dc0b1e27ca1c61326ba0cb39f199a3b9f0aba3a /Source | |
| parent | 5516b0382c231f493a3a99cd6ee17e29e6ba13e9 (diff) | |
Core: Fix Y-data not being assigned in Drums.cpp
Prior to this we were overwriting the x-axis with y-axis data.
Diffstat (limited to 'Source')
| -rw-r--r-- | Source/Core/Core/HW/WiimoteEmu/Attachment/Drums.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
