aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm
diff options
context:
space:
mode:
authorTravis Howell2008-12-27 02:36:08 +0000
committerTravis Howell2008-12-27 02:36:08 +0000
commit56dbde4d57316a5d6a4685a3a100f1ca64851451 (patch)
tree0379f7f9c661fa9c1165169d9e74a4f896ef016f /engines/scumm
parent7d99fbbdf7e215daef9121e5f438586939178df7 (diff)
downloadscummvm-rg350-56dbde4d57316a5d6a4685a3a100f1ca64851451.tar.gz
scummvm-rg350-56dbde4d57316a5d6a4685a3a100f1ca64851451.tar.bz2
scummvm-rg350-56dbde4d57316a5d6a4685a3a100f1ca64851451.zip
Fix video playback in Blue's Clues games.
svn-id: r35565
Diffstat (limited to 'engines/scumm')
-rw-r--r--engines/scumm/he/animation_he.cpp3
-rw-r--r--engines/scumm/he/script_v90he.cpp3
2 files changed, 5 insertions, 1 deletions
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();