[Scummvm-cvs-logs] SF.net SVN: scummvm: [27078] scummvm/trunk/engines/agos/agos.cpp

Kirben at users.sourceforge.net Kirben at users.sourceforge.net
Mon Jun 4 09:04:42 CEST 2007


Revision: 27078
          http://scummvm.svn.sourceforge.net/scummvm/?rev=27078&view=rev
Author:   Kirben
Date:     2007-06-04 00:04:42 -0700 (Mon, 04 Jun 2007)

Log Message:
-----------
Fix invalid writes in Elvira 1, the original game would overwrite into _window6BackScn.

Modified Paths:
--------------
    scummvm/trunk/engines/agos/agos.cpp

Modified: scummvm/trunk/engines/agos/agos.cpp
===================================================================
--- scummvm/trunk/engines/agos/agos.cpp	2007-06-04 05:18:11 UTC (rev 27077)
+++ scummvm/trunk/engines/agos/agos.cpp	2007-06-04 07:04:42 UTC (rev 27078)
@@ -607,7 +607,7 @@
 	} else if (getGameType() == GType_WW || getGameType() == GType_ELVIRA2) {
 		_window4BackScn = (byte *)calloc(224 * 127, 1);
 	} else if (getGameType() == GType_ELVIRA1) {
-		_window4BackScn = (byte *)calloc(224 * 127, 1);
+		_window4BackScn = (byte *)calloc(224 * 144, 1);
 		_window6BackScn = (byte *)calloc(48 * 80, 1);
 	}
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list