From 6247ed5b45803f79b0d6eab4b831964b05ba79ea Mon Sep 17 00:00:00 2001 From: Matthew Hoops Date: Fri, 1 Apr 2011 20:30:29 -0400 Subject: SCUMM: Stub off file append mode in o72_openFile() This is used in several Backyard Sports titles. This stub is required for now so that baseball2001 can continue after trying to save the Hall of Fame data. --- engines/scumm/he/script_v72he.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'engines/scumm') diff --git a/engines/scumm/he/script_v72he.cpp b/engines/scumm/he/script_v72he.cpp index 32c15abcba..25f5f3dc3f 100644 --- a/engines/scumm/he/script_v72he.cpp +++ b/engines/scumm/he/script_v72he.cpp @@ -1420,6 +1420,12 @@ void ScummEngine_v72he::o72_openFile() { _hOutFileTable[slot] = _saveFileMan->openForSaving(filename); } break; + case 6: + // FIXME: Appending to saved game file is not supported right now + // This is used in several Backyard Sports games. The stub is required for + // baseball2001 to continue after trying to save Hall of Fame data. + slot = -1; + break; default: error("o72_openFile(): wrong open file mode %d", mode); } -- cgit v1.2.3