[Scummvm-cvs-logs] SF.net SVN: scummvm: [22301] scummvm/trunk/engines/simon/animation.cpp

kirben at users.sourceforge.net kirben at users.sourceforge.net
Wed May 3 04:15:00 CEST 2006


Revision: 22301
Author:   kirben
Date:     2006-05-03 04:14:29 -0700 (Wed, 03 May 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm/?rev=22301&view=rev

Log Message:
-----------
Clear front buffer, when using cutscenes in Amiga version of FF

Modified Paths:
--------------
    scummvm/trunk/engines/simon/animation.cpp
Modified: scummvm/trunk/engines/simon/animation.cpp
===================================================================
--- scummvm/trunk/engines/simon/animation.cpp	2006-05-03 11:13:21 UTC (rev 22300)
+++ scummvm/trunk/engines/simon/animation.cpp	2006-05-03 11:14:29 UTC (rev 22301)
@@ -151,8 +151,9 @@
 	_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();
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.





More information about the Scummvm-git-logs mailing list