AnalogController: Fix analog-as-digital applying in analog mode

This commit is contained in:
Connor McLaughlin 2020-10-30 02:10:49 +10:00
parent fda95fb903
commit 7078f73ecf
1 changed files with 1 additions and 1 deletions

View File

@ -191,7 +191,7 @@ void AnalogController::SetMotorState(u8 motor, u8 value)
u8 AnalogController::GetExtraButtonMaskLSB() const
{
if (!m_analog_dpad_in_digital_mode)
if (!m_analog_dpad_in_digital_mode || m_analog_mode)
return 0xFF;
static constexpr u8 NEG_THRESHOLD = static_cast<u8>(128.0f - (127.0 * 0.5f));