diff options
author | Kostas Nakos | 2009-01-04 20:37:24 +0000 |
---|---|---|
committer | Kostas Nakos | 2009-01-04 20:37:24 +0000 |
commit | 5ac9de093832a9d3a680ec3681a7f58107ba7114 (patch) | |
tree | d03c765bc569b1c27bcf65df306167e35e1e5768 /backends/platform/wince | |
parent | 41b7f714e95f83ec23398154f2ffdf8050d44b68 (diff) | |
download | scummvm-rg350-5ac9de093832a9d3a680ec3681a7f58107ba7114.tar.gz scummvm-rg350-5ac9de093832a9d3a680ec3681a7f58107ba7114.tar.bz2 scummvm-rg350-5ac9de093832a9d3a680ec3681a7f58107ba7114.zip |
had forgotten the case of a rect being partially off the top of the screen (and not the bottom at the same time). fixes bug #2470228
svn-id: r35733
Diffstat (limited to 'backends/platform/wince')
-rw-r--r-- | backends/platform/wince/wince-sdl.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/backends/platform/wince/wince-sdl.cpp b/backends/platform/wince/wince-sdl.cpp index 831d4c61be..b891a83689 100644 --- a/backends/platform/wince/wince-sdl.cpp +++ b/backends/platform/wince/wince-sdl.cpp @@ -1646,7 +1646,9 @@ void OSystem_WINCE3::internUpdateScreen() { if (routy + routh < 0) continue; if (routy < 0) { routh += routy; + r->y -= routy * _scaleFactorYd / _scaleFactorYm; routy = 0; + r->h = routh * _scaleFactorYd / _scaleFactorYm; } if (_orientationLandscape) { if (routy > _platformScreenWidth) continue; |