A technique is described to deconvolve long-pulse electron-beam centroid data from resistive wall-current monitors. These monitors are typically capable of accurately measuring total current for tens of microseconds, but, due to magnetic diffusion, tend to give direct centroid measurements only up to hundreds of nanoseconds. As a result, resistive wall-current monitors are usually not considered reliable for long-pulse operation. However, the voltage signals azimuthally around the monitor still contains that information, and the information can be easily deconvolved by differentiating the signals. In this article, the diffusive part of Maxwell's equations is used to find an expression for the time response of a resistive wall-current monitor for a beam of arbitrary current and centroid evolution. A simple way of inverting this response is shown to find the beam centroid as a function of time within the electron pulse.