diff options
author | Paul Gilbert | 2015-07-03 21:12:14 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-07-03 21:12:14 -0400 |
commit | f387785e57ab1aad0340ea3d207436972c630cf4 (patch) | |
tree | 224f1517d595b5e8cb31d0ac970f7c065da6b42b /engines/sherlock/screen.cpp | |
parent | 614162e5fc8489324e586b57db46558b4d6c26ef (diff) | |
download | scummvm-rg350-f387785e57ab1aad0340ea3d207436972c630cf4.tar.gz scummvm-rg350-f387785e57ab1aad0340ea3d207436972c630cf4.tar.bz2 scummvm-rg350-f387785e57ab1aad0340ea3d207436972c630cf4.zip |
SHERLOCK: RT: Beginnings of scrolling scene support
Diffstat (limited to 'engines/sherlock/screen.cpp')
-rw-r--r-- | engines/sherlock/screen.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/sherlock/screen.cpp b/engines/sherlock/screen.cpp index e20c1b5182..404b3d5984 100644 --- a/engines/sherlock/screen.cpp +++ b/engines/sherlock/screen.cpp @@ -523,8 +523,7 @@ void Screen::vgaBar(const Common::Rect &r, int color) { } void Screen::setDisplayBounds(const Common::Rect &r) { - assert(r.left == 0 && r.top == 0); - _sceneSurface.setPixels(_backBuffer1.getPixels(), r.width(), r.height(), _backBuffer1.getPixelFormat()); + _sceneSurface.setPixels(_backBuffer1.getBasePtr(r.left, r.top), r.width(), r.height(), _backBuffer1.getPixelFormat()); _backBuffer = &_sceneSurface; } |