AnalogController: Don't panic on unknown configuration mode command
This commit is contained in:
parent
057c264d97
commit
6eb0496d77
1 changed files with 3 additions and 5 deletions
|
|
@ -422,13 +422,11 @@ bool AnalogController::Transfer(const u8 data_in, u8* data_out)
|
|||
m_rumble_config_large_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
|
||||
{
|
||||
if (m_configuration_mode)
|
||||
Log_ErrorPrintf("Unimplemented config mode command 0x%02X", data_in);
|
||||
|
||||
*data_out = 0xFF;
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue