1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-10-03 10:54:46 +00:00

Fixed action counts for border motion.

This commit is contained in:
Thomas Harte 2017-03-26 18:33:05 -04:00
parent dfc468f220
commit 814c0ada13

View File

@ -586,7 +586,7 @@ template<class T> void TIA::draw_object(T &object, const uint8_t collision_ident
// movement works across the entire screen, so do work that falls outside of the pixel area
if(start < first_pixel) {
perform_border_motion<T>(object, start, std::max(end, first_pixel));
perform_border_motion<T>(object, start, std::min(end, first_pixel));
}
// don't continue to do any drawing if this window ends too early