Fix it in svga_doblit() as well.
This commit is contained in:
@@ -1997,9 +1997,15 @@ svga_doblit(int wx, int wy, svga_t *svga)
|
||||
|
||||
y_add = enable_overscan ? svga->monitor->mon_overscan_y : 0;
|
||||
x_add = enable_overscan ? svga->monitor->mon_overscan_x : 0;
|
||||
#ifdef USE_OLD_CALCULATION
|
||||
y_start = enable_overscan ? 0 : (svga->monitor->mon_overscan_y >> 1);
|
||||
x_start = enable_overscan ? 0 : (svga->monitor->mon_overscan_x >> 1);
|
||||
bottom = (svga->monitor->mon_overscan_y >> 1);
|
||||
#else
|
||||
y_start = enable_overscan ? 0 : svga->y_add;
|
||||
x_start = enable_overscan ? 0 : svga->left_overscan;
|
||||
bottom = svga->monitor->mon_overscan_y - svga->y_add;
|
||||
#endif
|
||||
|
||||
if (svga->vertical_linedbl) {
|
||||
y_add <<= 1;
|
||||
|
||||
Reference in New Issue
Block a user