mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-09 23:59:27 +01:00
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
|
||||
{
|
||||
u8 cfs = 0;
|
||||
m_crossfade->GetState(&cfs, 8, 7);
|
||||
s8 cfs = 0;
|
||||
m_crossfade->GetState(&cfs, focus ? 7 : 0);
|
||||
cfs += 8;
|
||||
|
||||
ttdata->slider = cfs;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user