aboutsummaryrefslogtreecommitdiff
path: root/engines/agos
diff options
context:
space:
mode:
Diffstat (limited to 'engines/agos')
-rw-r--r--engines/agos/animation.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/agos/animation.cpp b/engines/agos/animation.cpp
index dd52f42abc..efcd78e482 100644
--- a/engines/agos/animation.cpp
+++ b/engines/agos/animation.cpp
@@ -265,6 +265,13 @@ bool MoviePlayerDXA::load() {
}
void MoviePlayerDXA::playVideo() {
+ // Most of the videos included in the Amiga version, reduced the
+ // resoluton to 384 x 280, so require the screen to be cleared,
+ // before starting playing those videos.
+ if (getWidth() == 384 && getHeight() == 280) {
+ _vm->clearSurfaces();
+ }
+
while (getCurFrame() < getFrameCount() && !_skipMovie && !_vm->shouldQuit())
handleNextFrame();
}