diff options
author | Aaron Campbell <aaron@cvs.openbsd.org> | 2000-11-22 01:39:39 +0000 |
---|---|---|
committer | Aaron Campbell <aaron@cvs.openbsd.org> | 2000-11-22 01:39:39 +0000 |
commit | 18ce137a1bb634f8ef347107a97ccbd0f89c74b3 (patch) | |
tree | 9549e95a78ccf1aed0a486b3f0039c40f6022dda /sys | |
parent | f9ff957831f96886025ddf86479739a2fc55a95f (diff) |
Set visible offset properly.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ic/vga.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/vga.c b/sys/dev/ic/vga.c index be3a7de3ea5..43f0feb7d3e 100644 --- a/sys/dev/ic/vga.c +++ b/sys/dev/ic/vga.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vga.c,v 1.13 2000/11/15 20:17:37 aaron Exp $ */ +/* $OpenBSD: vga.c,v 1.14 2000/11/22 01:39:38 aaron Exp $ */ /* $NetBSD: vga.c,v 1.28.2.1 2000/06/30 16:27:47 simonb Exp $ */ /* @@ -1014,10 +1014,10 @@ vga_copyrows(id, srcrow, dstrow, nrows) nrows * ncols); scr->vga_rollover = scr->pcs.dispoffset; scr->pcs.dispoffset = scr->mindispoffset; - scr->pcs.visibleoffset = scr->pcs.dispoffset; memt = memt; memh = memh; } + scr->pcs.visibleoffset = scr->pcs.dispoffset; vga_6845_write(&scr->cfg->hdl, startadrh, scr->pcs.dispoffset >> 9); vga_6845_write(&scr->cfg->hdl, startadrl, |