Fix emulated turntable crossfade slider. (DJ Hero controller)

Fixes issue 4504.
This commit is contained in:
Jordan Woyak 2013-01-18 13:40:54 -06:00
parent 2f28d938cf
commit 5ff77f9c88
1 changed files with 3 additions and 2 deletions

View File

@ -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;
}