mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-03 08:40:59 +00:00
SHERLOCK: Fix memory corruption when displaying map
This commit is contained in:
parent
16b65badc0
commit
27aa19bca7
@ -130,7 +130,7 @@ void TattooScene::drawAllShapes() {
|
||||
screen._backBuffer1.transBlitFrom(*_activeCAnim._imageFrame, _activeCAnim._position,
|
||||
(_activeCAnim._flags & 4) >> 1, 0, _activeCAnim._scaleVal);
|
||||
|
||||
screen.setDisplayBounds(Common::Rect(0, 0, screen._backBuffer1.w(), screen._backBuffer1.h()));
|
||||
screen.resetDisplayBounds();
|
||||
|
||||
// Queue drawing of all objects that are set to NORMAL.
|
||||
for (uint idx = 0; idx < _bgShapes.size(); ++idx) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user