if(SiS_Pr->UseCustomMode) { sync = SiS_Pr->CInfoFlag >> 8; } else { sync = SiS_Pr->SiS_RefIndex[RefreshRateTableIndex].Ext_InfoFlag >> 8; }
if(SiS_Pr->UseCustomMode) { sync = SiS_Pr->CInfoFlag >> 8; } else { sync = SiS_Pr->SiS_RefIndex[RRTI].Ext_InfoFlag >> 8; }
SiS_SetCRT1Sync(SiS_Private *SiS_Pr, USHORT RefreshRateTableIndex){  USHORT sync;  if(SiS_Pr->UseCustomMode) {     sync = SiS_Pr->CInfoFlag >> 8;  } else {     sync = SiS_Pr->SiS_RefIndex[RefreshRateTableIndex].Ext_InfoFlag >> 8;  }  sync &= 0xC0;  sync |= 0x2f;  SiS_SetRegByte(SiS_Pr->SiS_P3c2,sync);}