aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/he
diff options
context:
space:
mode:
Diffstat (limited to 'engines/scumm/he')
-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();