Old autopilots (like mine) will only steer a compass course. Modern ones will interface with the chart plotter and steer to minimize cross track error, which removes the issue of cross currents.