[Scummvm-cvs-logs] CVS: scummvm scummvm.cpp,1.131,1.132

Lionel Ulmer bbrox at users.sourceforge.net
Wed May 1 05:02:03 CEST 2002


Update of /cvsroot/scummvm/scummvm
In directory usw-pr-cvs1:/tmp/cvs-serv16485

Modified Files:
	scummvm.cpp 
Log Message:
Initialize the private frame buffer at '0' to prevent a lot of
Valgrind errors in the first Smush movie of TheDig.



Index: scummvm.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scummvm.cpp,v
retrieving revision 1.131
retrieving revision 1.132
diff -C2 -d -r1.131 -r1.132
*** scummvm.cpp	28 Apr 2002 14:01:39 -0000	1.131
--- scummvm.cpp	1 May 2002 12:01:43 -0000	1.132
***************
*** 1281,1285 ****
  
  	/* Create a primary virtual screen */
! 	_videoBuffer = (byte*)malloc(328*200);
  
  	allocResTypeData(rtBuffer, MKID('NONE'), 10, "buffer", 0);
--- 1281,1285 ----
  
  	/* Create a primary virtual screen */
! 	_videoBuffer = (byte*)calloc(328*200, 1);
  
  	allocResTypeData(rtBuffer, MKID('NONE'), 10, "buffer", 0);





More information about the Scummvm-git-logs mailing list