@@ -359,12 +359,12 @@ static void newport_clear(struct vc_data *vc, int sy, int sx, int height,
359
359
360
360
if (ystart < yend ) {
361
361
newport_clear_screen (sx << 3 , ystart , xend , yend ,
362
- (vc -> vc_color & 0xf0 ) >> 4 );
362
+ (vc -> state . color & 0xf0 ) >> 4 );
363
363
} else {
364
364
newport_clear_screen (sx << 3 , ystart , xend , 1023 ,
365
- (vc -> vc_color & 0xf0 ) >> 4 );
365
+ (vc -> state . color & 0xf0 ) >> 4 );
366
366
newport_clear_screen (sx << 3 , 0 , xend , yend ,
367
- (vc -> vc_color & 0xf0 ) >> 4 );
367
+ (vc -> state . color & 0xf0 ) >> 4 );
368
368
}
369
369
}
370
370
@@ -588,11 +588,11 @@ static bool newport_scroll(struct vc_data *vc, unsigned int t, unsigned int b,
588
588
topscan = (topscan + (lines << 4 )) & 0x3ff ;
589
589
newport_clear_lines (vc -> vc_rows - lines ,
590
590
vc -> vc_rows - 1 ,
591
- (vc -> vc_color & 0xf0 ) >> 4 );
591
+ (vc -> state . color & 0xf0 ) >> 4 );
592
592
} else {
593
593
topscan = (topscan + (- lines << 4 )) & 0x3ff ;
594
594
newport_clear_lines (0 , lines - 1 ,
595
- (vc -> vc_color & 0xf0 ) >> 4 );
595
+ (vc -> state . color & 0xf0 ) >> 4 );
596
596
}
597
597
npregs -> cset .topscan = (topscan - 1 ) & 0x3ff ;
598
598
return false;
0 commit comments