Fix emulated turntable crossfade slider. (DJ Hero controller)
Fixes issue 4504.
This commit is contained in:
parent
2f28d938cf
commit
5ff77f9c88
|
@ -97,8 +97,9 @@ void Turntable::GetState(u8* const data, const bool focus)
|
||||||
|
|
||||||
// crossfade slider
|
// crossfade slider
|
||||||
{
|
{
|
||||||
u8 cfs = 0;
|
s8 cfs = 0;
|
||||||
m_crossfade->GetState(&cfs, 8, 7);
|
m_crossfade->GetState(&cfs, focus ? 7 : 0);
|
||||||
|
cfs += 8;
|
||||||
|
|
||||||
ttdata->slider = cfs;
|
ttdata->slider = cfs;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue