mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-27 08:05:41 +00:00
AnalogController: Fix default value of vibration bias
This commit is contained in:
parent
e6bff275a6
commit
7c55940fa8
|
@ -533,5 +533,5 @@ void AnalogController::LoadSettings(const char* section)
|
||||||
Controller::LoadSettings(section);
|
Controller::LoadSettings(section);
|
||||||
m_auto_enable_analog = g_host_interface->GetBoolSettingValue(section, "AutoEnableAnalog", false);
|
m_auto_enable_analog = g_host_interface->GetBoolSettingValue(section, "AutoEnableAnalog", false);
|
||||||
m_rumble_bias =
|
m_rumble_bias =
|
||||||
static_cast<u8>(std::min<u32>(g_host_interface->GetIntSettingValue(section, "VibrationBias", false), 255));
|
static_cast<u8>(std::min<u32>(g_host_interface->GetIntSettingValue(section, "VibrationBias", 8), 255));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue