aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2019-11-06 18:44:45 +0100
committerEugene Sandulenko2019-11-13 22:07:08 +0100
commit57922cde6710f7419514fb9fc5c43ae8a59626b3 (patch)
treed2a694fa9e63f0368d7fcab419e09f41ab66d02f /engines
parentfc1e3f62be27e03c526288f78c094afebc37c25c (diff)
downloadscummvm-rg350-57922cde6710f7419514fb9fc5c43ae8a59626b3.tar.gz
scummvm-rg350-57922cde6710f7419514fb9fc5c43ae8a59626b3.tar.bz2
scummvm-rg350-57922cde6710f7419514fb9fc5c43ae8a59626b3.zip
GRIFFON: Fix saveload menu fadein
Diffstat (limited to 'engines')
-rw-r--r--engines/griffon/dialogs.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/griffon/dialogs.cpp b/engines/griffon/dialogs.cpp
index 93f8b87f6a..5cc1e7f403 100644
--- a/engines/griffon/dialogs.cpp
+++ b/engines/griffon/dialogs.cpp
@@ -735,7 +735,10 @@ void GriffonEngine::saveLoadNew() {
_videoBuffer->setAlpha((int)yy);
}
- g_system->copyRectToScreen(_videoBuffer->getPixels(), _videoBuffer->pitch, 0, 0, _videoBuffer->w, _videoBuffer->h);
+ _videoBuffer3->fillRect(Common::Rect(0, 0, _videoBuffer3->w, _videoBuffer3->h), 0);
+ _videoBuffer->blit(*_videoBuffer3);
+
+ g_system->copyRectToScreen(_videoBuffer3->getPixels(), _videoBuffer3->pitch, 0, 0, _videoBuffer3->w, _videoBuffer3->h);
g_system->updateScreen();
g_system->getEventManager()->pollEvent(_event);