diff options
| author | Paul Gilbert | 2015-09-13 17:08:12 -0400 | 
|---|---|---|
| committer | Paul Gilbert | 2015-09-13 17:08:12 -0400 | 
| commit | 492166debe75bc392753561a4f995bbd72ca8b39 (patch) | |
| tree | 474e8dc8c4e2902187d20a8b645203c77ba15feb /engines/sherlock/scalpel/scalpel_screen.cpp | |
| parent | fcbf84455ea3ced2335fbcb4b6b44f99d4232f28 (diff) | |
| download | scummvm-rg350-492166debe75bc392753561a4f995bbd72ca8b39.tar.gz scummvm-rg350-492166debe75bc392753561a4f995bbd72ca8b39.tar.bz2 scummvm-rg350-492166debe75bc392753561a4f995bbd72ca8b39.zip | |
SHERLOCK: 3DO: Show portrait videos at full size when in hi-res mode
Diffstat (limited to 'engines/sherlock/scalpel/scalpel_screen.cpp')
| -rw-r--r-- | engines/sherlock/scalpel/scalpel_screen.cpp | 8 | 
1 files changed, 8 insertions, 0 deletions
| diff --git a/engines/sherlock/scalpel/scalpel_screen.cpp b/engines/sherlock/scalpel/scalpel_screen.cpp index a06314f57f..71bcca5dc5 100644 --- a/engines/sherlock/scalpel/scalpel_screen.cpp +++ b/engines/sherlock/scalpel/scalpel_screen.cpp @@ -329,6 +329,14 @@ uint16 Scalpel3DOScreen::h() const {  	return _vm->_isScreenDoubled ? _surface.h / 2 : _surface.h;  } +void Scalpel3DOScreen::rawBlitFrom(const Graphics::Surface &src, const Common::Point &pt) { +	Common::Rect srcRect(0, 0, src.w, src.h); +	Common::Rect destRect(pt.x, pt.y, pt.x + src.w, pt.y + src.h); + +	addDirtyRect(destRect); +	_surface.copyRectToSurface(src, destRect.left, destRect.top, srcRect); +} +  } // End of namespace Scalpel  } // End of namespace Sherlock | 
