[Scummvm-cvs-logs] CVS: scummvm/bs2/driver d_draw.cpp,1.29,1.30

Torbj?rn Andersson eriktorbjorn at users.sourceforge.net
Tue Sep 30 07:38:10 CEST 2003


Update of /cvsroot/scummvm/scummvm/bs2/driver
In directory sc8-pr-cvs1:/tmp/cvs-serv5464/driver

Modified Files:
	d_draw.cpp 
Log Message:
Moved the memory manager functions into an object of its own (and enabled
debugging levels). This needs further cleanups, but I believe I have
reached a stable point where I can commit it without too much anxiety.


Index: d_draw.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/bs2/driver/d_draw.cpp,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -d -r1.29 -r1.30
--- d_draw.cpp	28 Sep 2003 16:38:00 -0000	1.29
+++ d_draw.cpp	30 Sep 2003 14:37:42 -0000	1.30
@@ -235,7 +235,7 @@
 		CreateSurface(&msgSprite, &msgSurface);
 		DrawSurface(&msgSprite, msgSurface);
 		DeleteSurface(msgSurface);
-		Free_mem(data);
+		memory.freeMemory(data);
 
 		// In case the cutscene has a long lead-in, start just before
 		// the first line of text.





More information about the Scummvm-git-logs mailing list