[Scummvm-cvs-logs] scummvm master -> fe21e5b0a918a7c6dfa144a4bb25ed2f80d625eb

athrxx athrxx at scummvm.org
Thu Nov 24 22:01:36 CET 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:
fe21e5b0a9 SCUMM: paranoia "fix" for ae5192c5d396b6ab3caf57adabeb03a832966dd3


Commit: fe21e5b0a918a7c6dfa144a4bb25ed2f80d625eb
    https://github.com/scummvm/scummvm/commit/fe21e5b0a918a7c6dfa144a4bb25ed2f80d625eb
Author: athrxx (athrxx at scummvm.org)
Date: 2011-11-24T13:00:09-08:00

Commit Message:
SCUMM: paranoia "fix" for ae5192c5d396b6ab3caf57adabeb03a832966dd3

(change sizeof check to use int16 instead of Common::Rect)

Changed paths:
    engines/scumm/saveload.cpp



diff --git a/engines/scumm/saveload.cpp b/engines/scumm/saveload.cpp
index 572e460..38dbd82 100644
--- a/engines/scumm/saveload.cpp
+++ b/engines/scumm/saveload.cpp
@@ -1305,7 +1305,7 @@ void ScummEngine::saveOrLoad(Serializer *s) {
 
 	if (hasTownsData) {
 		// Skip FM-Towns specific data
-		for (int i = 69 * sizeof(uint8) + 11 * sizeof(Common::Rect); i; i--)
+		for (int i = 69 * sizeof(uint8) + 44 * sizeof(int16); i; i--)
 			s->loadByte();
 	}
 






More information about the Scummvm-git-logs mailing list