aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2006-05-03 11:14:29 +0000
committerTravis Howell2006-05-03 11:14:29 +0000
commit5ef5110299a777eb1ccfcc9ed41659b9fc50e3bf (patch)
treee09d31f652b2d75aa908e3c8700f4fa30fb336c3
parent9c1fc023281d1ea3789dcdb2cf7451baaf3d061f (diff)
downloadscummvm-rg350-5ef5110299a777eb1ccfcc9ed41659b9fc50e3bf.tar.gz
scummvm-rg350-5ef5110299a777eb1ccfcc9ed41659b9fc50e3bf.tar.bz2
scummvm-rg350-5ef5110299a777eb1ccfcc9ed41659b9fc50e3bf.zip
Clear front buffer, when using cutscenes in Amiga version of FF
svn-id: r22301
-rw-r--r--engines/simon/animation.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/simon/animation.cpp b/engines/simon/animation.cpp
index 89f0ac256c..93490c60a7 100644
--- a/engines/simon/animation.cpp
+++ b/engines/simon/animation.cpp
@@ -151,8 +151,9 @@ void MoviePlayer::play() {
_mixer->stopAll();
// Resolution is smaller in Amiga verison so always clear screen
- if (_width == 384 && _height == 280)
- _vm->dx_clear_surfaces(480);
+ if (_width == 384 && _height == 280) {
+ memset(_vm->_frontBuf, 0, _vm->_screenHeight * _vm->_screenWidth);
+ }
_ticks = _vm->_system->getMillis();