Pad: Don't apply input state when load-from-devices is off

This commit is contained in:
Connor McLaughlin 2021-03-27 13:42:32 +10:00
parent ff411dac2e
commit 97682e09ab

View file

@ -119,9 +119,9 @@ bool Pad::DoStateController(StateWrapper& sw, u32 i)
return false;
if (auto& controller = m_controllers[i]; controller && controller->GetType() == state_controller_type)
return controller->DoState(sw, true);
return controller->DoState(sw, g_settings.load_devices_from_save_states);
else if (auto dummy = Controller::Create(state_controller_type, i); dummy)
return dummy->DoState(sw, true);
return dummy->DoState(sw, g_settings.load_devices_from_save_states);
return true;
}