mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-04-27 18:45:43 -04:00
AnalogController: Only panic on unknown config mode commands
This commit is contained in:
parent
cf7b167359
commit
49c65cf5dd
@ -401,10 +401,15 @@ bool AnalogController::Transfer(const u8 data_in, u8* data_out)
|
|||||||
m_rumble_config_large_motor_index = -1;
|
m_rumble_config_large_motor_index = -1;
|
||||||
m_rumble_config_small_motor_index = -1;
|
m_rumble_config_small_motor_index = -1;
|
||||||
}
|
}
|
||||||
|
else if (m_configuration_mode)
|
||||||
|
{
|
||||||
|
Log_ErrorPrintf("Unimplemented config mode command 0x%02X", data_in);
|
||||||
|
Panic("Unimplemented config mode command");
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Log_ErrorPrintf("Unimplemented analog controller command 0x%02X", data_in);
|
*data_out = 0xFF;
|
||||||
Panic("Unimplemented analog controller command");
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user