From f5239ada1f6286e687d7ada69e82a6eb31dcfd3b Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Mon, 23 Feb 2004 11:35:58 +0000 Subject: 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 --- backends/sdl/sdl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backends/sdl') 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; } -- cgit v1.2.3