1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-07-07 08:28:57 +00:00

Resolved spurious static analyser issue; screen mode will always be 0–6 but it doesn't know that. Setting a non-zero divider doesn't feel worth worrying about for a cleaner compile.

This commit is contained in:
Thomas Harte 2017-02-11 13:35:22 -05:00
parent 6381e4e1b0
commit aff69dbc34

View File

@ -115,7 +115,7 @@ void VideoOutput::output_pixels(unsigned int number_of_cycles)
}
else
{
unsigned int divider = 0;
unsigned int divider = 1;
switch(screen_mode_)
{
case 0: case 3: divider = 2; break;