mirror of
https://github.com/TomHarte/CLK.git
synced 2025-01-12 15:31:09 +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:
parent
6381e4e1b0
commit
aff69dbc34
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user