mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-26 23:52:26 +00:00
Fixed: ensured that the attempt to plot a misplaced write occurs correctly.
This commit is contained in:
parent
e6a7161e87
commit
8eb058064c
@ -59,6 +59,8 @@ void CRTInputBufferBuilder::reduce_previous_allocation_to(size_t actual_length)
|
||||
_write_target_pointer = 1;
|
||||
_last_allocation_amount = actual_length;
|
||||
_next_write_x_position = (uint16_t)(actual_length + 2);
|
||||
_write_x_position = 1;
|
||||
_write_y_position = 0;
|
||||
}
|
||||
|
||||
// book end the allocation with duplicates of the first and last pixel, to protect
|
||||
|
Loading…
Reference in New Issue
Block a user