[Scummvm-cvs-logs] SF.net SVN: scummvm:[35565] scummvm/trunk/engines/scumm/he

Kirben at users.sourceforge.net Kirben at users.sourceforge.net
Sat Dec 27 03:36:08 CET 2008


Revision: 35565
          http://scummvm.svn.sourceforge.net/scummvm/?rev=35565&view=rev
Author:   Kirben
Date:     2008-12-27 02:36:08 +0000 (Sat, 27 Dec 2008)

Log Message:
-----------
Fix video playback in Blue's Clues games.

Modified Paths:
--------------
    scummvm/trunk/engines/scumm/he/animation_he.cpp
    scummvm/trunk/engines/scumm/he/script_v90he.cpp

Modified: scummvm/trunk/engines/scumm/he/animation_he.cpp
===================================================================
--- scummvm/trunk/engines/scumm/he/animation_he.cpp	2008-12-26 23:39:13 UTC (rev 35564)
+++ scummvm/trunk/engines/scumm/he/animation_he.cpp	2008-12-27 02:36:08 UTC (rev 35565)
@@ -89,7 +89,8 @@
 	} else {
 		copyFrameToBuffer(pvs->getPixels(0, 0), 0, 0, _vm->_screenWidth);
 
-		_vm->markRectAsDirty(kMainVirtScreen, 0, 0, getWidth(), getHeight());
+		Common::Rect imageRect(getWidth(), getHeight());
+		_vm->markRectAsDirty(kMainVirtScreen, imageRect);
 	}
 
 	if (getCurFrame() == getFrameCount()) {

Modified: scummvm/trunk/engines/scumm/he/script_v90he.cpp
===================================================================
--- scummvm/trunk/engines/scumm/he/script_v90he.cpp	2008-12-26 23:39:13 UTC (rev 35564)
+++ scummvm/trunk/engines/scumm/he/script_v90he.cpp	2008-12-27 02:36:08 UTC (rev 35565)
@@ -1688,7 +1688,10 @@
 		break;
 	case 8:
 		memset(_videoParams.filename, 0, sizeof(_videoParams.filename));
+		_videoParams.status = 0;
+		_videoParams.flags = 0;
 		_videoParams.unk2 = pop();
+		_videoParams.wizResNum = 0;
 		break;
 	case 14:
 		_videoParams.wizResNum = pop();


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