changeset 13604:6d2a63a93190

fix Cyberblade VidiX driver TVOUT patch by Benjamin Zores <ben@tutuxclan.org>
author faust3
date Sun, 10 Oct 2004 18:53:01 +0000
parents 80fc8f48f14c
children c971585ddcab
files vidix/drivers/cyberblade_vid.c
diffstat 1 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/vidix/drivers/cyberblade_vid.c	Sun Oct 10 17:39:07 2004 +0000
+++ b/vidix/drivers/cyberblade_vid.c	Sun Oct 10 18:53:01 2004 +0000
@@ -506,16 +506,13 @@
 			HWinStart=(TVHTotal-HDisp)&15;
 			HWinStart|=(HTotal-HDisp)&15;
 			HWinStart+=(TVHTotal-TVHSyncStart)-49;
- 
-			VWinStart=(TVVTotal-VDisp)/2-1;
-			VWinStart-=(1-((TVVTotal-VDisp)&1))+4;
 		}
 		else
 		{
 			LOGWRITE("[cyberblade] Using Standard CRTC\n");
 			HWinStart=(HTotal-HSync)+15;
-			VWinStart=(VTotal-VSync)-8;
 		}
+                VWinStart=(VTotal-VSync)-8;
 
 		printf("[cyberblade] HTotal: 0x%x, HSStart: 0x%x\n",HTotal,HSync); 
 		printf("  VTotal: 0x%x, VStart: 0x%x\n",VTotal,VSync);