mirror of
https://github.com/TomHarte/CLK.git
synced 2025-08-05 08:26:28 +00:00
Fixed: made sure that _vBlankExtend resets itself even on non-pixel lines.
This commit is contained in:
@@ -233,7 +233,6 @@ void Machine::output_pixels(unsigned int count)
|
||||
|
||||
if(state == OutputState::Pixel)
|
||||
{
|
||||
_vBlankExtend = false;
|
||||
_crt->allocate_write_area(160);
|
||||
_outputBuffer = _crt->get_write_target_for_buffer(0);
|
||||
} else {
|
||||
@@ -241,6 +240,9 @@ void Machine::output_pixels(unsigned int count)
|
||||
}
|
||||
}
|
||||
|
||||
if(_vBlankExtend && _horizontalTimer == 151)
|
||||
_vBlankExtend = false;
|
||||
|
||||
if(_horizontalTimer < (_vBlankExtend ? 152 : 160))
|
||||
{
|
||||
if(_outputBuffer)
|
||||
|
Reference in New Issue
Block a user