aboutsummaryrefslogtreecommitdiff
path: root/engines/agos/animation.cpp
diff options
context:
space:
mode:
authorTravis Howell2009-08-15 10:31:20 +0000
committerTravis Howell2009-08-15 10:31:20 +0000
commita73523533c4f00d6980c544c024bfb114041ee68 (patch)
treecfd668ee2eb627421dbf601ccf50f49ccddbe353 /engines/agos/animation.cpp
parent0630c207220cfcbb579115f163ed13babef93908 (diff)
downloadscummvm-rg350-a73523533c4f00d6980c544c024bfb114041ee68.tar.gz
scummvm-rg350-a73523533c4f00d6980c544c024bfb114041ee68.tar.bz2
scummvm-rg350-a73523533c4f00d6980c544c024bfb114041ee68.zip
Restore code to clear screen, before playing videos with smaller resolution in the Amiga version of The Feeble Files.
svn-id: r43402
Diffstat (limited to 'engines/agos/animation.cpp')
-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();
}