Allow the cursor to reach the bottom of the screen when using the keyboard

to control it, and aspect-ratio correction is activated.

svn-id: r13009
This commit is contained in:
Torbjörn Andersson 2004-02-23 11:35:58 +00:00
parent b2f6ed6f23
commit f5239ada1f

View file

@ -175,7 +175,7 @@ void OSystem_SDL::load_gfx_mode() {
// 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;
}