From a73523533c4f00d6980c544c024bfb114041ee68 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Sat, 15 Aug 2009 10:31:20 +0000 Subject: Restore code to clear screen, before playing videos with smaller resolution in the Amiga version of The Feeble Files. svn-id: r43402 --- engines/agos/animation.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'engines/agos') 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(); } -- cgit v1.2.3