From 18ce137a1bb634f8ef347107a97ccbd0f89c74b3 Mon Sep 17 00:00:00 2001 From: Aaron Campbell Date: Wed, 22 Nov 2000 01:39:39 +0000 Subject: Set visible offset properly. --- sys/dev/ic/vga.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev') 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, -- cgit v1.2.3