From e4e718e243b721cde94ea39335574360a3a4805e Mon Sep 17 00:00:00 2001 From: Adam Johnson Date: Fri, 1 Feb 2013 17:19:50 -0500 Subject: [PATCH] Bypass ATI Generic fudging with Radeon HD cards --- .../Plasma/PubUtilLib/plPipeline/hsG3DDeviceSelector.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Sources/Plasma/PubUtilLib/plPipeline/hsG3DDeviceSelector.cpp b/Sources/Plasma/PubUtilLib/plPipeline/hsG3DDeviceSelector.cpp index b6bf7127..1b025765 100644 --- a/Sources/Plasma/PubUtilLib/plPipeline/hsG3DDeviceSelector.cpp +++ b/Sources/Plasma/PubUtilLib/plPipeline/hsG3DDeviceSelector.cpp @@ -1568,6 +1568,14 @@ void hsG3DDeviceSelector::IFudgeDirectXDevice( hsG3DDeviceRecord &record, } //// ATI-based Cards ////////////////////////////////////////////////////// + /// Detect ATI Radeon HD + else if (strstr( desc, "radeon hd" ) != nullptr) + { + hsStatusMessage( "== Using fudge factors for an ATI Radeon HD chipset ==\n" ); + plDemoDebugFile::Write( " Using fudge factors for an ATI Radeon HD chipset" ); + ISetFudgeFactors( kDefaultChipset, record ); + } + /// Detect ATI Rage 128 Pro chipset else if( ( deviceID == 0x00005046 && // Normal ATI Rage 128 Pro detection ( stricmp( szDriver, "ati2dvaa.dll" ) == 0