[Scummvm-cvs-logs] CVS: scummvm/backends/sdl sdl.cpp,1.56,1.57

Torbj?rn Andersson eriktorbjorn at users.sourceforge.net
Mon Feb 23 03:50:05 CET 2004


Update of /cvsroot/scummvm/scummvm/backends/sdl
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23166

Modified Files:
	sdl.cpp 
Log Message:
Allow the cursor to reach the bottom of the screen when using the keyboard
to control it, and aspect-ratio correction is activated.


Index: sdl.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/sdl/sdl.cpp,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -d -r1.56 -r1.57
--- sdl.cpp	16 Jan 2004 16:57:51 -0000	1.56
+++ sdl.cpp	23 Feb 2004 11:35:58 -0000	1.57
@@ -175,7 +175,7 @@
 
 	// keyboard cursor control, some other better place for it?
 	km.x_max = _screenWidth * _scaleFactor - 1;
-	km.y_max = _screenHeight * _scaleFactor - 1;
+	km.y_max = (_adjustAspectRatio ? 240 : _screenHeight) * _scaleFactor - 1;
 	km.delay_time = 25;
 	km.last_time = 0;
 }





More information about the Scummvm-git-logs mailing list