aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/gfx.cpp
diff options
context:
space:
mode:
authorRobert Crossfield2016-07-15 20:40:17 +1000
committerRobert Crossfield2016-07-17 16:40:49 +1000
commit1a880c748c5cfb5ed64ca220ff332bc353726345 (patch)
tree2c531f0b3be7e36a4c3ea69df312b32ef304fe53 /engines/scumm/gfx.cpp
parent246d48b467cd88d666311bf95b3c966a53eaf0da (diff)
downloadscummvm-rg350-1a880c748c5cfb5ed64ca220ff332bc353726345.tar.gz
scummvm-rg350-1a880c748c5cfb5ed64ca220ff332bc353726345.tar.bz2
scummvm-rg350-1a880c748c5cfb5ed64ca220ff332bc353726345.zip
SCUMM: Maniac V0: Clear the text area of the screen on fade out
Diffstat (limited to 'engines/scumm/gfx.cpp')
-rw-r--r--engines/scumm/gfx.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/scumm/gfx.cpp b/engines/scumm/gfx.cpp
index 1d1b6b4f13..5dc96eceb9 100644
--- a/engines/scumm/gfx.cpp
+++ b/engines/scumm/gfx.cpp
@@ -3795,6 +3795,11 @@ void ScummEngine::fadeOut(int effect) {
_textSurface.fillRect(Common::Rect(0, vs->topline * _textSurfaceMultiplier, _textSurface.pitch, (vs->topline + vs->h) * _textSurfaceMultiplier), 0);
#endif
+ // V0 wipes the text area before fading out
+ if (_game.version == 0) {
+ updateDirtyScreen( kTextVirtScreen );
+ }
+
// TheDig can disable fadeIn(), and may call fadeOut() several times
// successively. Disabling the _screenEffectFlag check forces the screen
// to get cleared. This fixes glitches, at least, in the first cutscenes