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:
parent
fcf4b14344
commit
2d23bc46f2
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user