mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-10 18:25:45 -04:00
AnalogController: Use device state instead of save state for mode
This commit is contained in:
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user