Filter out extra path setting and useless setting when writing INIs details in HE games.

svn-id: r17629
This commit is contained in:
Travis Howell 2005-04-16 14:45:21 +00:00
parent a117f4f832
commit 471a58680d

View File

@ -2141,6 +2141,11 @@ void ScummEngine_v72he::o72_writeINI() {
case 7: // string
copyScriptString(string, sizeof(string));
copyScriptString(option, sizeof(option));
// Filter out confusing or useless settings
if (!strcmp((char *)option, "HETest") || !strcmp((char *)option, "SaveGamePath"))
return;
ConfMan.set((char *)option, (char *)string);
break;
default: