mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-15 06:04:49 +01:00
reset resolution to default
This commit is contained in:
parent
6aae09eea9
commit
0a88e48e60
@ -86,6 +86,14 @@ void __fastcall TConfigForm::RestoreDefaultsBtnClick(TObject *Sender)
|
||||
return;
|
||||
}
|
||||
|
||||
auto *ini = new TIniFile(".\\Warcraft II BNE.ini");
|
||||
|
||||
ini->WriteString("Game", "Resolution", "4");
|
||||
ini->WriteString("Game", "Width", "0");
|
||||
ini->WriteString("Game", "Height", "0");
|
||||
|
||||
delete ini;
|
||||
|
||||
DeleteFile(".\\ddraw.ini");
|
||||
|
||||
ShellExecute(
|
||||
|
Loading…
x
Reference in New Issue
Block a user