diff options
author | Travis Howell | 2009-08-15 10:31:20 +0000 |
---|---|---|
committer | Travis Howell | 2009-08-15 10:31:20 +0000 |
commit | a73523533c4f00d6980c544c024bfb114041ee68 (patch) | |
tree | cfd668ee2eb627421dbf601ccf50f49ccddbe353 /engines/agos | |
parent | 0630c207220cfcbb579115f163ed13babef93908 (diff) | |
download | scummvm-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')
-rw-r--r-- | engines/agos/animation.cpp | 7 |
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(); } |