You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Avoid d3d9.dll crash @ 0x0002A733 (Top 5 most popular MTA crash) and add known incompatible d3d9.dll interface.
Note that this particular DLL isn't a mod, and isn't functional, but is just a poor, outdated Win7 DLL paste into a massively distributed GTA installation variant or mod-pack.
{6, 3, 9600, 17415}, // This d3d9.dll always crashes the user @ 0x0002A733 (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
+
};
1041
+
1042
+
staticbool bChecked = false;
1043
+
if (!bChecked)
1044
+
{
1045
+
bChecked = true;
1046
+
1047
+
// Check all 3 game roots
1048
+
const std::vector<SString> directoriesToCheck = {
1049
+
GetLaunchPath(), // MTA installation folder root
1050
+
strGTAPath, // Real GTA:SA installation folder root. As chosen by DiscoverGTAPath()
1051
+
PathJoin(GetMTADataPath(), "GTA San Andreas"), // Proxy-mirror that MTA uses for core GTA data files (C:\ProgramData\MTA San Andreas All\<MTA major version>\GTA San Andreas)
1052
+
};
1053
+
1054
+
for (const SString& directory : directoriesToCheck)
0 commit comments