mirror of
https://github.com/TomHarte/CLK.git
synced 2026-04-19 19:16:34 +00:00
Whoops; fixed line count target test.
This commit is contained in:
@@ -139,7 +139,7 @@ uint16_t MOS6560::get_address()
|
||||
_vertical_counter++;
|
||||
_column_counter = -1;
|
||||
|
||||
if(_vertical_counter == _interlaced ? 261 : (_is_odd_frame ? 262 : 263))
|
||||
if(_vertical_counter == (_interlaced ? (_is_odd_frame ? 262 : 263) : 261))
|
||||
{
|
||||
_is_odd_frame ^= true;
|
||||
_vertical_counter = 0;
|
||||
|
||||
Reference in New Issue
Block a user