h5, minihwc.c (hwcInitRegisters): call h4InitPlls() if H4 is defined for v4/5

patch from Frank Sapone <emoaddict15@gmail.com> --- overclocking support with
SSTH3_GRXCLOCK for Voodoo 4/5 cards.
This commit is contained in:
sezero
2018-08-03 19:12:40 +03:00
parent eea61facf8
commit 78a5774bc8

View File

@@ -2136,6 +2136,13 @@ hwcInitRegisters(hwcBoardInfo *bInfo)
break;
case SST_DEVICE_ID_H4_OEM: /* voodoo3/avenger */
break;
case SST_DEVICE_ID_L_AP: /* voodoo4/5 */
case SST_DEVICE_ID_AP_OEM:
case SST_DEVICE_ID_H_AP:
#ifdef H4 /* FS: added for v4/5 */
h4InitPlls(bInfo->regInfo.ioPortBase, bInfo->pciInfo.deviceID, grxSpeedInMHz);
#endif
break;
default: /* unknown board type!!! */
return FXFALSE;
}