diff options
author | Torbjörn Andersson | 2004-02-23 11:35:58 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2004-02-23 11:35:58 +0000 |
commit | f5239ada1f6286e687d7ada69e82a6eb31dcfd3b (patch) | |
tree | 10249772f0a519446e2551dadd15668c6c1734c6 /backends/sdl | |
parent | b2f6ed6f235a27ff127ba7e98c859946ebaa1831 (diff) | |
download | scummvm-rg350-f5239ada1f6286e687d7ada69e82a6eb31dcfd3b.tar.gz scummvm-rg350-f5239ada1f6286e687d7ada69e82a6eb31dcfd3b.tar.bz2 scummvm-rg350-f5239ada1f6286e687d7ada69e82a6eb31dcfd3b.zip |
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
Diffstat (limited to 'backends/sdl')
-rw-r--r-- | backends/sdl/sdl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/sdl/sdl.cpp b/backends/sdl/sdl.cpp index fc8d5781c5..456ed2c5bf 100644 --- a/backends/sdl/sdl.cpp +++ b/backends/sdl/sdl.cpp @@ -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; } |