Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix some emulated wiimote turntable stupidness (DJ Hero controller). …
…Happy Christmas!

Fixed issue 6865.
  • Loading branch information
jordan-woyak committed Dec 25, 2013
1 parent 2ed24d5 commit 4d1f113
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Source/Core/Core/Src/HW/WiimoteEmu/Attachment/Turntable.cpp
Expand Up @@ -76,7 +76,7 @@ void Turntable::GetState(u8* const data, const bool focus)
m_left_table->GetState(&tt, focus ? 0x1F : 0);

ttdata->ltable1 = tt;
ttdata->ltable2 = tt << 5;
ttdata->ltable2 = tt >> 5;
}

// right table
Expand All @@ -85,9 +85,9 @@ void Turntable::GetState(u8* const data, const bool focus)
m_right_table->GetState(&tt, focus ? 0x1F : 0);

ttdata->rtable1 = tt;
ttdata->rtable2 = tt << 1;
ttdata->rtable3 = tt << 3;
ttdata->rtable4 = tt << 5;
ttdata->rtable2 = tt >> 1;
ttdata->rtable3 = tt >> 3;
ttdata->rtable4 = tt >> 5;
}

// effect dial
Expand All @@ -96,7 +96,7 @@ void Turntable::GetState(u8* const data, const bool focus)
m_effect_dial->GetState(&dial, focus ? 0xF : 0);

ttdata->dial1 = dial;
ttdata->dial2 = dial << 3;
ttdata->dial2 = dial >> 3;
}

// crossfade slider
Expand Down

0 comments on commit 4d1f113

Please sign in to comment.