aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/riven_graphics.cpp
diff options
context:
space:
mode:
authorBastien Bouclet2017-07-10 08:07:45 +0200
committerBastien Bouclet2017-07-10 08:07:45 +0200
commit1141bfc1a603decce8f02a85a1fc76073a646d1a (patch)
tree893961601b63d9711944717dcb230da361a533d7 /engines/mohawk/riven_graphics.cpp
parentafc0ac65c916a2147e711d08e273ea84cbf55966 (diff)
downloadscummvm-rg350-1141bfc1a603decce8f02a85a1fc76073a646d1a.tar.gz
scummvm-rg350-1141bfc1a603decce8f02a85a1fc76073a646d1a.tar.bz2
scummvm-rg350-1141bfc1a603decce8f02a85a1fc76073a646d1a.zip
MOHAWK: Riven: Clear the effects screen at the beginning of credits
It is used as a source for the fade from black effect. Ensures the first fading effect fades from black and not the previous view. Fixes #9929, #9930, #9931, #9932, #9933.
Diffstat (limited to 'engines/mohawk/riven_graphics.cpp')
-rw-r--r--engines/mohawk/riven_graphics.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/mohawk/riven_graphics.cpp b/engines/mohawk/riven_graphics.cpp
index 824372a808..4dfbcab0bb 100644
--- a/engines/mohawk/riven_graphics.cpp
+++ b/engines/mohawk/riven_graphics.cpp
@@ -596,6 +596,7 @@ void RivenGraphics::beginCredits() {
// And clear our screen too
clearMainScreen();
+ _effectScreen->fillRect(Common::Rect(0, 0, 608, 392), _pixelFormat.RGBToColor(0, 0, 0));
}
void RivenGraphics::updateCredits() {