1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-07-07 23:29:06 +00:00

Made an attempt to honour interlaced-frame line counts.

This commit is contained in:
Thomas Harte 2016-06-13 18:21:21 -04:00
parent 2e946e785f
commit 91c406e065

View File

@ -139,7 +139,7 @@ uint16_t MOS6560::get_address()
_vertical_counter++;
_column_counter = -1;
if(_vertical_counter == 261)
if(_vertical_counter == _interlaced ? 261 : (_is_odd_frame ? 262 : 263))
{
_is_odd_frame ^= true;
_vertical_counter = 0;