1
0
mirror of https://github.com/TomHarte/CLK.git synced 2026-04-21 17:16:44 +00:00

Fixed scanline sizing and fill issues, as well as shortening vsync to the correct Atari length.

This commit is contained in:
Thomas Harte
2015-08-05 20:55:27 -04:00
parent 265d1d5b24
commit 5644b3a1cc
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ void CRT::set_new_timing(int cycles_per_line, int height_of_display)
_sync_capacitor_charge_threshold = ((syncCapacityLineChargeThreshold * _cycles_per_line) * 50) >> 7;
_horizontal_retrace_time = (millisecondsHorizontalRetraceTime * _cycles_per_line) >> 6;
const int vertical_retrace_time = scanlinesVerticalRetraceTime * _cycles_per_line;
const float halfLineWidth = (float)_height_of_display * 1.0f;
const float halfLineWidth = (float)_height_of_display * 1.85f;
for(int c = 0; c < 4; c++)
{