[Scummvm-cvs-logs] CVS: scummvm/backends/sdl sdl.cpp,1.56,1.56.2.1
Torbj?rn Andersson
eriktorbjorn at users.sourceforge.net
Mon Feb 23 03:49:07 CET 2004
Update of /cvsroot/scummvm/scummvm/backends/sdl
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22778
Modified Files:
Tag: branch-0-6-0
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.56.2.1
diff -u -d -r1.56 -r1.56.2.1
--- sdl.cpp 16 Jan 2004 16:57:51 -0000 1.56
+++ sdl.cpp 23 Feb 2004 11:34:38 -0000 1.56.2.1
@@ -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