Implement Banshee half mode on non-tiled surfaces. Fixes low res VESA
modes.
This commit is contained in:
parent
d6bf0baed0
commit
5c20fe7c57
2 changed files with 6 additions and 1 deletions
|
|
@ -409,6 +409,10 @@ static void banshee_recalctimings(svga_t *svga)
|
|||
default:
|
||||
fatal("Unknown pixel format %08x\n", banshee->vgaInit0);
|
||||
}
|
||||
if (!(banshee->vidProcCfg & VIDPROCCFG_DESKTOP_TILE) && (banshee->vidProcCfg & VIDPROCCFG_HALF_MODE))
|
||||
svga->rowcount = 1;
|
||||
else
|
||||
svga->rowcount = 0;
|
||||
if (banshee->vidProcCfg & VIDPROCCFG_DESKTOP_TILE)
|
||||
svga->rowoffset = ((banshee->vidDesktopOverlayStride & 0x3fff) * 128) >> 3;
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in a new issue