mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-26 23:52:26 +00:00
Made an attempt to honour interlaced-frame line counts.
This commit is contained in:
parent
2e946e785f
commit
91c406e065
@ -139,7 +139,7 @@ uint16_t MOS6560::get_address()
|
|||||||
_vertical_counter++;
|
_vertical_counter++;
|
||||||
_column_counter = -1;
|
_column_counter = -1;
|
||||||
|
|
||||||
if(_vertical_counter == 261)
|
if(_vertical_counter == _interlaced ? 261 : (_is_odd_frame ? 262 : 263))
|
||||||
{
|
{
|
||||||
_is_odd_frame ^= true;
|
_is_odd_frame ^= true;
|
||||||
_vertical_counter = 0;
|
_vertical_counter = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user