Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix emulated turntable crossfade slider. (DJ Hero controller)
Fixes issue 4504.
  • Loading branch information
jordan-woyak committed Jan 18, 2013
1 parent 2f28d93 commit 5ff77f9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Source/Core/Core/Src/HW/WiimoteEmu/Attachment/Turntable.cpp
Expand Up @@ -97,8 +97,9 @@ void Turntable::GetState(u8* const data, const bool focus)

// crossfade slider
{
u8 cfs = 0;
m_crossfade->GetState(&cfs, 8, 7);
s8 cfs = 0;
m_crossfade->GetState(&cfs, focus ? 7 : 0);
cfs += 8;

ttdata->slider = cfs;
}
Expand Down

0 comments on commit 5ff77f9

Please sign in to comment.