AnalogController: Use device state instead of save state for mode

pull/2030/head
Connor McLaughlin 4 years ago
parent 844c8e916f
commit 7fb5d6908f

@ -65,6 +65,8 @@ bool AnalogController::DoState(StateWrapper& sw, bool apply_input_state)
sw.DoEx(&button_state, 44, static_cast<u16>(0xFFFF));
if (apply_input_state)
m_button_state = button_state;
else
m_analog_mode = old_analog_mode;
sw.Do(&m_command);

Loading…
Cancel
Save