From 56dbde4d57316a5d6a4685a3a100f1ca64851451 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Sat, 27 Dec 2008 02:36:08 +0000 Subject: Fix video playback in Blue's Clues games. svn-id: r35565 --- engines/scumm/he/animation_he.cpp | 3 ++- engines/scumm/he/script_v90he.cpp | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'engines/scumm/he') diff --git a/engines/scumm/he/animation_he.cpp b/engines/scumm/he/animation_he.cpp index 82728a3f0d..9f18d1cda8 100644 --- a/engines/scumm/he/animation_he.cpp +++ b/engines/scumm/he/animation_he.cpp @@ -89,7 +89,8 @@ void MoviePlayer::handleNextFrame() { } 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()) { diff --git a/engines/scumm/he/script_v90he.cpp b/engines/scumm/he/script_v90he.cpp index 9829d0ecb5..0e60ac9d09 100644 --- a/engines/scumm/he/script_v90he.cpp +++ b/engines/scumm/he/script_v90he.cpp @@ -1688,7 +1688,10 @@ void ScummEngine_v90he::o90_videoOps() { 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(); -- cgit v1.2.3