Skip to content

Commit 4dd4653

Browse files
committed
Addendum #2 to db63a1: Fix comment style and add another entry
1 parent d585ea6 commit 4dd4653

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

Client/loader/MainFunctions.cpp

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1024,7 +1024,7 @@ void CheckDataFiles()
10241024
}
10251025

10261026
// No-op known incompatible/broken d3d9.dll versions from the launch directory
1027-
// By using file version we account for variants as well. Function is extendable in theory, but meant for D3D9.dll 6.3.9600.17415 (MTA top 5 crash)
1027+
// By using file version we account for variants as well. The array is extendable, but primarily for D3D9.dll 6.3.9600.17415 (MTA top 5 crash)
10281028
{
10291029
struct SIncompatibleVersion
10301030
{
@@ -1034,9 +1034,13 @@ void CheckDataFiles()
10341034
int iRelease;
10351035
};
10361036

1037-
static const SIncompatibleVersion incompatibleVersions[] = {
1038-
{6, 3, 9600, 17415}, // This d3d9.dll always crashes the user @ 0x0001F4B3 (CreateSurfaceLH). Furthermore, it's not a graphical mod or functional. Some GTA:SA distributor just placed their own, outdated Win7 DLL in the folder.
1039-
};
1037+
        static const SIncompatibleVersion incompatibleVersions[] = {
1038+
            // The below entry (D3D9.dll 6.3.9600.17415) always crashes the user @ 0x0002A733 (CreateSurfaceLH).
1039+
            // Furthermore, it's not a graphical mod or functional. Some GTA:SA distributor just placed their own, outdated Win7 DLL in the folder.
1040+
            {6, 3, 9600, 17415},
1041+
            // The below entry (D3D9.dll 0.3.1.3) is a fully incompatible, modified ENB version ("DirectX 2.0") that crashes the user.
1042+
            {0, 3, 1, 3},
1043+
        };
10401044

10411045
static bool bChecked = false;
10421046
if (!bChecked)

0 commit comments

Comments
 (0)