The EGA and (S)VGA renders no longer draw a line's left and right overscan borders if the line is < 0.
This commit is contained in:
@@ -76,6 +76,9 @@ ega_render_overscan_left(ega_t *ega)
|
||||
{
|
||||
int i;
|
||||
|
||||
if ((ega->displine + ega->y_add) < 0)
|
||||
return;
|
||||
|
||||
if (ega->scrblank || (ega->hdisp == 0))
|
||||
return;
|
||||
|
||||
@@ -89,6 +92,9 @@ ega_render_overscan_right(ega_t *ega)
|
||||
{
|
||||
int i, right;
|
||||
|
||||
if ((ega->displine + ega->y_add) < 0)
|
||||
return;
|
||||
|
||||
if (ega->scrblank || (ega->hdisp == 0))
|
||||
return;
|
||||
|
||||
|
@@ -69,6 +69,9 @@ svga_render_overscan_left(svga_t *svga)
|
||||
{
|
||||
int i;
|
||||
|
||||
if ((svga->displine + svga->y_add) < 0)
|
||||
return;
|
||||
|
||||
if (svga->scrblank || (svga->hdisp == 0))
|
||||
return;
|
||||
|
||||
@@ -82,6 +85,9 @@ svga_render_overscan_right(svga_t *svga)
|
||||
{
|
||||
int i, right;
|
||||
|
||||
if ((svga->displine + svga->y_add) < 0)
|
||||
return;
|
||||
|
||||
if (svga->scrblank || (svga->hdisp == 0))
|
||||
return;
|
||||
|
||||
|
Reference in New Issue
Block a user