mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-15 06:04:49 +01:00
fix wine bug
This commit is contained in:
parent
809a70f366
commit
d53139ca40
@ -604,7 +604,7 @@ void __fastcall TConfigForm::CompatibilityBtnClick(TObject *Sender)
|
||||
void __fastcall TConfigForm::FormCreate(TObject *Sender)
|
||||
{
|
||||
/* Let cnc-ddraw create a new ddraw.ini if it doesn't exist */
|
||||
if (!FileExists(".\\ddraw.ini")) {
|
||||
if (FileExists(".\\ddraw.dll") && !FileExists(".\\ddraw.ini")) {
|
||||
|
||||
SetEnvironmentVariableW(L"cnc_ddraw_config_init", L"1");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user