vesa: *vesashadow -> *novesashadow

This commit is contained in:
cinap_lenrek 2011-11-05 11:06:24 +01:00
parent 409ed0d966
commit b6901035d0
2 changed files with 8 additions and 8 deletions

View file

@ -760,10 +760,10 @@ and
.BR off .
The first two specify differing levels of power saving;
the third turns the monitor off completely.
.SS \fL*vesashadow=\fP
This enables the shadow framebuffer or softscreen of the VESA
video driver. This is usefull on devices where access to
the physical framebuffer is slow.
.SS \fL*novesashadow=\fP
This disables the shadow framebuffer or softscreen of the VESA
video driver. This can improve performance on some graphics
cards.
.SS NVRAM
.SS \fLnvram=\fIfile\fP
.SS \fLnvrlen=\fIlength\fP

View file

@ -162,10 +162,10 @@ vesalinear(VGAscr *scr, int, int)
vgalinearaddr(scr, paddr, size);
if(scr->apsize)
addvgaseg("vesascreen", scr->paddr, scr->apsize);
if(getconf("*vesashadow")){
hardscreen = scr->vaddr;
scr->paddr = scr->apsize = 0;
}
if(getconf("*novesashadow"))
return;
hardscreen = scr->vaddr;
scr->paddr = scr->apsize = 0;
}
static void