mirror of
https://github.com/TomHarte/CLK.git
synced 2025-01-13 07:30:21 +00:00
Fixed action counts for border motion.
This commit is contained in:
parent
dfc468f220
commit
814c0ada13
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user