[Scummvm-cvs-logs] CVS: scummvm/scumm gfx.cpp,2.239,2.240

Max Horn fingolfin at users.sourceforge.net
Sat Jan 3 13:30:04 CET 2004


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv19942

Modified Files:
	gfx.cpp 
Log Message:
oops

Index: gfx.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/gfx.cpp,v
retrieving revision 2.239
retrieving revision 2.240
diff -u -d -r2.239 -r2.240
--- gfx.cpp	3 Jan 2004 21:26:44 -0000	2.239
+++ gfx.cpp	3 Jan 2004 21:29:17 -0000	2.240
@@ -235,7 +235,7 @@
 		initScreens(16, _screenWidth, 144);
 }
 
-void ScummEngine::initScreens(int a, int b, int w, int h) {
+void ScummEngine::initScreens(int b, int w, int h) {
 	int i;
 
 	for (i = 0; i < 3; i++) {
@@ -244,6 +244,8 @@
 	}
 
 	if (!getResourceAddress(rtBuffer, 4)) {
+		// Since the size of screen 3 is fixed, there is no need to reallocate it
+		// if its size changed.
 		if (_version >= 7) {
 			initVirtScreen(3, 0, (_screenHeight / 2) - 10, _screenWidth, 13, false, false);
 		} else {





More information about the Scummvm-git-logs mailing list