mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2025-02-16 19:05:39 +00:00
AnalogController: Always use analog mode from save state
This commit is contained in:
parent
afed8297c9
commit
9439cf65a3
|
@ -93,8 +93,6 @@ bool AnalogController::DoState(StateWrapper& sw, bool apply_input_state)
|
||||||
sw.DoEx(&button_state, 44, static_cast<u16>(0xFFFF));
|
sw.DoEx(&button_state, 44, static_cast<u16>(0xFFFF));
|
||||||
if (apply_input_state)
|
if (apply_input_state)
|
||||||
m_button_state = button_state;
|
m_button_state = button_state;
|
||||||
else
|
|
||||||
m_analog_mode = old_analog_mode;
|
|
||||||
|
|
||||||
sw.Do(&m_command);
|
sw.Do(&m_command);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue