Skip to content

Commit f923b94

Browse files
authored
Addendum #2 to db63a1: Fix comment style and add another entry
1 parent d084246 commit f923b94

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
@@ -1025,7 +1025,7 @@ void CheckDataFiles()
10251025
}
10261026

10271027
// No-op known incompatible/broken d3d9.dll versions from the launch directory
1028-
// 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)
1028+
// 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)
10291029
{
10301030
struct SIncompatibleVersion
10311031
{
@@ -1035,9 +1035,13 @@ void CheckDataFiles()
10351035
int iRelease;
10361036
};
10371037

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

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

0 commit comments

Comments
 (0)