1
0
mirror of https://github.com/TomHarte/CLK.git synced 2025-02-28 06:29:37 +00:00

Whoops; fixed line count target test.

This commit is contained in:
Thomas Harte 2016-06-13 19:34:01 -04:00
parent fcf4b14344
commit 2d23bc46f2

View File

@ -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;