mirror of
https://github.com/TomHarte/CLK.git
synced 2024-12-25 03:32:01 +00:00
A minor fix to data queuing. Display still absent.
This commit is contained in:
parent
7bd237193d
commit
d0b2d840da
@ -45,7 +45,7 @@ void CRT::CRTInputBufferBuilder::allocate_write_area(size_t required_length)
|
||||
if(_next_write_x_position + required_length + 2 > CRTInputBufferBuilderWidth)
|
||||
{
|
||||
_next_write_x_position = 0;
|
||||
_next_write_y_position = (_next_write_y_position+1)%CRTInputBufferBuilderWidth;
|
||||
_next_write_y_position = (_next_write_y_position+1)%CRTInputBufferBuilderHeight;
|
||||
}
|
||||
|
||||
_write_x_position = _next_write_x_position + 1;
|
||||
|
Loading…
Reference in New Issue
Block a user