[Scummvm-cvs-logs] scummvm master -> 6247ed5b45803f79b0d6eab4b831964b05ba79ea

clone2727 clone2727 at gmail.com
Sat Apr 2 02:40:00 CEST 2011


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
6247ed5b45 SCUMM: Stub off file append mode in o72_openFile()


Commit: 6247ed5b45803f79b0d6eab4b831964b05ba79ea
    https://github.com/scummvm/scummvm/commit/6247ed5b45803f79b0d6eab4b831964b05ba79ea
Author: Matthew Hoops (clone2727 at gmail.com)
Date: 2011-04-01T17:38:25-07:00

Commit Message:
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.

Changed paths:
    engines/scumm/he/script_v72he.cpp



diff --git a/engines/scumm/he/script_v72he.cpp b/engines/scumm/he/script_v72he.cpp
index 32c15ab..25f5f3d 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);
 		}






More information about the Scummvm-git-logs mailing list