1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-25 01:32:55 +00:00

Move to more natural position of ownership.

This commit is contained in:
Thomas Harte 2024-04-09 22:10:07 -04:00
parent d9d675a74f
commit a29f246536

View File

@ -246,6 +246,7 @@ struct Video {
}
break;
}
++pixel_count_;
}
if(phase_ == Phase::Display) {
@ -261,7 +262,6 @@ struct Video {
pixels_ = reinterpret_cast<uint16_t *>(crt_.begin_data(PixelBufferSize));
}
if(pixels_) {
// Each tick in here is two ticks of the pixel clock, so:
//
@ -312,8 +312,6 @@ struct Video {
pixels_ += 2;
}
++pixel_count_;
}
// Advance cursor position.