diff options
author | Martin Kiewitz | 2010-05-15 14:17:50 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-05-15 14:17:50 +0000 |
commit | eb2b3f352ed03dc7299ff6202e68a68116476aa9 (patch) | |
tree | be15aec31d9d077ffc9760d4ee707d5e22d6503c /engines/sci/graphics/transitions.cpp | |
parent | 59a255226f95d395cb73119ae2e04a3494d404a5 (diff) | |
download | scummvm-rg350-eb2b3f352ed03dc7299ff6202e68a68116476aa9.tar.gz scummvm-rg350-eb2b3f352ed03dc7299ff6202e68a68116476aa9.tar.bz2 scummvm-rg350-eb2b3f352ed03dc7299ff6202e68a68116476aa9.zip |
SCI: adding upscaled hires mode 640x480 for kq6 and gk1, fixing valgrind error in GfxPortrait class, not using priority anymore when drawing hires cels (shouldnt be needed for kq6)
svn-id: r49040
Diffstat (limited to 'engines/sci/graphics/transitions.cpp')
-rw-r--r-- | engines/sci/graphics/transitions.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/graphics/transitions.cpp b/engines/sci/graphics/transitions.cpp index 8acbebcb30..1976326aa9 100644 --- a/engines/sci/graphics/transitions.cpp +++ b/engines/sci/graphics/transitions.cpp @@ -269,8 +269,8 @@ void GfxTransitions::copyRectToScreen(const Common::Rect rect, bool blackoutFlag surface->fillRect(rect, 0); } else { Common::Rect upscaledRect = rect; - upscaledRect.top *= 2; upscaledRect.bottom *= 2; - upscaledRect.left *= 2; upscaledRect.right *= 2; + _screen->adjustToUpscaledCoordinates(upscaledRect.top, upscaledRect.left); + _screen->adjustToUpscaledCoordinates(upscaledRect.bottom, upscaledRect.right); surface->fillRect(upscaledRect, 0); } g_system->unlockScreen(); |