mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-26 08:49:37 +00:00
Avoids massive over-flushing of pixel buffers.
This commit is contained in:
parent
8b0d550b81
commit
e0c15f43bb
@ -281,7 +281,10 @@ void Video::latch_word() {
|
||||
}
|
||||
|
||||
void Video::shift_out(int length) {
|
||||
if(!pixel_buffer_.pixel_pointer) pixel_buffer_.allocate(crt_);
|
||||
if(!pixel_buffer_.pixel_pointer) {
|
||||
pixel_buffer_.allocate(crt_);
|
||||
pixel_buffer_.output_bpp = output_bpp_;
|
||||
}
|
||||
|
||||
pixel_buffer_.cycles_output += length;
|
||||
switch(output_bpp_) {
|
||||
|
Loading…
Reference in New Issue
Block a user