#295 add workaround for Win11 steam RA2 crash
This commit is contained in:
parent
f2d1e9e3e6
commit
82571fe8db
6 changed files with 32 additions and 10 deletions
|
@ -52,6 +52,12 @@ BOOL WINAPI DllMain(HANDLE hDll, DWORD dwReason, LPVOID lpReserved)
|
|||
|
||||
while (s)
|
||||
{
|
||||
/* Workaround for bug in Windows 11 (Steam RA2 crash) */
|
||||
if (_strcmpi(s, "Win7RTM") == 0)
|
||||
{
|
||||
g_config.d3d9on12 = TRUE;
|
||||
}
|
||||
|
||||
if (_strcmpi(s, "WIN95") == 0 || _strcmpi(s, "WIN98") == 0 || _strcmpi(s, "NT4SP5") == 0)
|
||||
{
|
||||
char mes[128] = { 0 };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue