mirror of
https://github.com/TomHarte/CLK.git
synced 2025-01-27 06:35:04 +00:00
Ensures extra_border_length always has a defined value.
This commit is contained in:
parent
af667c718e
commit
310282b7c9
@ -306,6 +306,9 @@ void Video::output_row(int row, int start, int end) {
|
||||
case GraphicsMode::SuperHighRes:
|
||||
extra_border_length = (line_control_ & 0x80) ? 4 : 2;
|
||||
break;
|
||||
default: // Unreachable.
|
||||
extra_border_length = 0;
|
||||
break;
|
||||
}
|
||||
for(int c = 0; c < extra_border_length; c++) {
|
||||
next_pixel_[c] = border_colour_;
|
||||
|
Loading…
x
Reference in New Issue
Block a user