From 471a58680ddbe7a7704ae8d4a4223f8c495568d8 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Sat, 16 Apr 2005 14:45:21 +0000 Subject: Filter out extra path setting and useless setting when writing INIs details in HE games. svn-id: r17629 --- scumm/script_v72he.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'scumm/script_v72he.cpp') diff --git a/scumm/script_v72he.cpp b/scumm/script_v72he.cpp index 9bf5407209..3d2bdd6c66 100644 --- a/scumm/script_v72he.cpp +++ b/scumm/script_v72he.cpp @@ -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: -- cgit v1.2.3