[Scummvm-cvs-logs] CVS: scummvm/scumm/smush smush_player.cpp,1.121,1.122

Travis Howell kirben at users.sourceforge.net
Tue May 4 07:58:27 CEST 2004


Update of /cvsroot/scummvm/scummvm/scumm/smush
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8371/scumm/smush

Modified Files:
	smush_player.cpp 
Log Message:

Fix insane regression.


Index: smush_player.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/smush/smush_player.cpp,v
retrieving revision 1.121
retrieving revision 1.122
diff -u -d -r1.121 -r1.122
--- smush_player.cpp	1 May 2004 18:53:03 -0000	1.121
+++ smush_player.cpp	4 May 2004 14:56:47 -0000	1.122
@@ -717,8 +717,13 @@
 		_alreadyInit = true;
 	}
 
-	_width = width;
-	_height = height;
+	if ((height == 242) && (width == 384)) {
+		_width = width;
+		_height = height;
+	} else {
+		_width = _vm->_screenWidth;
+		_height = _vm->_screenHeight;
+	}
 
 	switch (codec) {
 	case 1:
@@ -776,8 +781,14 @@
 		_alreadyInit = true;
 	}
 
-	_width = width;
-	_height = height;
+	if ((height == 242) && (width == 384)) {
+		_width = width;
+		_height = height;
+	} else {
+		_width = _vm->_screenWidth;
+		_height = _vm->_screenHeight;
+	}
+
 	b.getWord();
 	b.getWord();
 





More information about the Scummvm-git-logs mailing list