aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm
diff options
context:
space:
mode:
Diffstat (limited to 'engines/scumm')
-rw-r--r--engines/scumm/he/script_v100he.cpp9
-rw-r--r--engines/scumm/he/script_v90he.cpp7
2 files changed, 8 insertions, 8 deletions
diff --git a/engines/scumm/he/script_v100he.cpp b/engines/scumm/he/script_v100he.cpp
index b7191a90ec..2a76f62bbb 100644
--- a/engines/scumm/he/script_v100he.cpp
+++ b/engines/scumm/he/script_v100he.cpp
@@ -2247,12 +2247,13 @@ void ScummEngine_v100he::o100_videoOps() {
if (_videoParams.flags == 0)
_videoParams.flags = 4;
+ const char *filename = (char *)_videoParams.filename + convertFilePath(_videoParams.filename);
if (_videoParams.flags == 2) {
- // result = startVideo(_videoParams.filename, _videoParams.flags, _videoParams.wizResNum);
- // VAR(119) = result;
+ // VAR(119) = startVideo(_videoParams.filename, _videoParams.flags, _videoParams.wizResNum);
+ VAR(119) = -1;
} else {
- // result = startVideo(_videoParams.filename, _videoParams.flags);
- // VAR(119) = result;
+ // VAR(119) = startVideo(_videoParams.filename, _videoParams.flags);
+ VAR(119) = -1;
}
} else if (_videoParams.status == 19) {
// Stop video
diff --git a/engines/scumm/he/script_v90he.cpp b/engines/scumm/he/script_v90he.cpp
index b911844f22..f18a049785 100644
--- a/engines/scumm/he/script_v90he.cpp
+++ b/engines/scumm/he/script_v90he.cpp
@@ -542,12 +542,11 @@ void ScummEngine_v90he::o90_videoOps() {
if (_videoParams.flags == 0)
_videoParams.flags = 4;
+ const char *filename = (char *)_videoParams.filename + convertFilePath(_videoParams.filename);
if (_videoParams.flags & 2) {
- int result = _moviePlay->load((const char *)_videoParams.filename, _videoParams.flags, _videoParams.wizResNum);
- VAR(119) = result;
+ VAR(119) = _moviePlay->load(filename, _videoParams.flags, _videoParams.wizResNum);
} else {
- int result = _moviePlay->load((const char *)_videoParams.filename, _videoParams.flags);
- VAR(119) = result;
+ VAR(119) = _moviePlay->load(filename, _videoParams.flags);
}
} else if (_videoParams.status == 165) {
// Stop video