diff options
author | Matthew Hoops | 2011-04-01 20:30:29 -0400 |
---|---|---|
committer | Matthew Hoops | 2011-04-01 20:38:25 -0400 |
commit | 6247ed5b45803f79b0d6eab4b831964b05ba79ea (patch) | |
tree | a07fa80fb2d7681bbe66e141544977388e312f79 /engines/scumm/he/script_v72he.cpp | |
parent | 8f02cdeed2416fb4a1892979e1d8cb2011151fef (diff) | |
download | scummvm-rg350-6247ed5b45803f79b0d6eab4b831964b05ba79ea.tar.gz scummvm-rg350-6247ed5b45803f79b0d6eab4b831964b05ba79ea.tar.bz2 scummvm-rg350-6247ed5b45803f79b0d6eab4b831964b05ba79ea.zip |
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.
Diffstat (limited to 'engines/scumm/he/script_v72he.cpp')
-rw-r--r-- | engines/scumm/he/script_v72he.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
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); } |