Closed nergix closed 3 years ago
I have fixed this, though somewhere slightly different. In video.c there were the lines:
if (scry + 1 > lasty)
lasty = scry;
which was obviously inconsistent. That resulted in the range firstx to lastx being inclusive of the start and exclusive or the end (as is common in programming) while the Y direction was inclusive of both start and end. I have changed video.c so the Y direction is like the X and now the missing line is included. This change is now merged to master.
With a self-build from master on Linux:
try
MODE 2 MOVE 0,0 DRAW 1280,0
which will draw a horizontal line along the bottom of the screen. Then choose File->Save Screenshot from the menu. At least for me, the resulting PNG file is missing the line that was just drawn.
A naive fix is
but perhaps something more sophisticated than this is required?